summaryrefslogtreecommitdiff
path: root/sys/arch/usermode/include
diff options
context:
space:
mode:
authorjmcneill <jmcneill@NetBSD.org>2011-12-26 22:04:35 +0000
committerjmcneill <jmcneill@NetBSD.org>2011-12-26 22:04:35 +0000
commita4cac6069cbe299dc2f85145c6da47a7c71fcff8 (patch)
treed1e5af7cefd47936ebd4b52ad6d468f97c65e8cc /sys/arch/usermode/include
parentbb4ffbccfda5a9357353d870e4fe82e0d8f952ba (diff)
make sure the sigio signal handler runs on the alternate signal stack,
fixes random SIGILLs seen recently
Diffstat (limited to 'sys/arch/usermode/include')
-rw-r--r--sys/arch/usermode/include/intr.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/arch/usermode/include/intr.h b/sys/arch/usermode/include/intr.h
index f733777c6c7..946c1e6b460 100644
--- a/sys/arch/usermode/include/intr.h
+++ b/sys/arch/usermode/include/intr.h
@@ -1,4 +1,4 @@
-/* $NetBSD: intr.h,v 1.5 2011/12/26 12:29:39 jmcneill Exp $ */
+/* $NetBSD: intr.h,v 1.6 2011/12/26 22:04:35 jmcneill Exp $ */
/*-
* Copyright (c) 2007 Jared D. McNeill <jmcneill@invisible.ca>
@@ -30,8 +30,9 @@
#define _ARCH_USERMODE_INCLUDE_INTR_H
#include <machine/intrdefs.h>
+#include <sys/siginfo.h>
-void sigio_intr_init(void);
+void sigio_signal_handler(int, siginfo_t *, void *);
void * sigio_intr_establish(int (*)(void *), void *);
void splinit(void);