Module Name: src
Committed By: matt
Date: Sun Aug 18 07:36:13 UTC 2013
Modified Files:
src/sys/sys: intr.h
Log Message:
Expose SOFTINT_COUNT for _KMEMUSER
To generate a diff of this commit:
cvs rdiff -u -r1.13 -r1.14 src/sys/sys/intr.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/sys/intr.h
diff -u src/sys/sys/intr.h:1.13 src/sys/sys/intr.h:1.14
--- src/sys/sys/intr.h:1.13 Sat Aug 17 20:20:18 2013
+++ src/sys/sys/intr.h Sun Aug 18 07:36:13 2013
@@ -1,4 +1,4 @@
-/* $NetBSD: intr.h,v 1.13 2013/08/17 20:20:18 matt Exp $ */
+/* $NetBSD: intr.h,v 1.14 2013/08/18 07:36:13 matt Exp $ */
/*-
* Copyright (c) 2007 The NetBSD Foundation, Inc.
@@ -86,8 +86,10 @@ extern u_int softint_timing;
#define splclock() splsched()
#define splserial() splhigh()
-#endif /* _KERNEL */
-
#include <machine/intr.h>
+#elif defined(_KMEMUSER)
+#define SOFTINT_COUNT 0x0004
+#endif /* _KERNEL */
+
#endif /* _SYS_INTR_H_ */