Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/hp700/include Don't expose spl* symbols to userland...



details:   https://anonhg.NetBSD.org/src/rev/eb2853626e34
branches:  trunk
changeset: 758814:eb2853626e34
user:      uebayasi <uebayasi%NetBSD.org@localhost>
date:      Tue Nov 16 08:59:30 2010 +0000

description:
Don't expose spl* symbols to userland.  Should fix build.

diffstat:

 sys/arch/hp700/include/intr.h |  5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diffs (26 lines):

diff -r 0e265cb44589 -r eb2853626e34 sys/arch/hp700/include/intr.h
--- a/sys/arch/hp700/include/intr.h     Tue Nov 16 03:49:53 2010 +0000
+++ b/sys/arch/hp700/include/intr.h     Tue Nov 16 08:59:30 2010 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: intr.h,v 1.18 2010/04/06 07:47:48 skrll Exp $  */
+/*     $NetBSD: intr.h,v 1.19 2010/11/16 08:59:30 uebayasi Exp $       */
 /*     $OpenBSD: intr.h,v 1.26 2009/12/29 13:11:40 jsing Exp $ */
 
 /*-
@@ -54,6 +54,8 @@
 
 #ifndef _LOCORE
 
+#ifdef _KERNEL
+
 /* The priority level masks. */
 extern int imask[NIPL];
 
@@ -87,6 +89,7 @@
 }
 
 #include <sys/spl.h>
+#endif
 
 #define        setsoftast(l)   ((l)->l_md.md_astpending = 1)
 



Home | Main Index | Thread Index | Old Index