Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/sys Expose SOFTINT_COUNT for _KMEMUSER



details:   https://anonhg.NetBSD.org/src/rev/a820c81f9712
branches:  trunk
changeset: 789402:a820c81f9712
user:      matt <matt%NetBSD.org@localhost>
date:      Sun Aug 18 07:36:13 2013 +0000

description:
Expose SOFTINT_COUNT for _KMEMUSER

diffstat:

 sys/sys/intr.h |  8 +++++---
 1 files changed, 5 insertions(+), 3 deletions(-)

diffs (22 lines):

diff -r 99c091fa438c -r a820c81f9712 sys/sys/intr.h
--- a/sys/sys/intr.h    Sun Aug 18 07:15:31 2013 +0000
+++ b/sys/sys/intr.h    Sun Aug 18 07:36:13 2013 +0000
@@ -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 @@
 #define        splclock()      splsched()
 #define        splserial()     splhigh()
 
+#include <machine/intr.h>
+
+#elif defined(_KMEMUSER)
+#define        SOFTINT_COUNT   0x0004
 #endif /* _KERNEL */
 
-#include <machine/intr.h>
-
 #endif /* _SYS_INTR_H_ */



Home | Main Index | Thread Index | Old Index