Module Name: src
Committed By: uebayasi
Date: Tue Nov 16 08:59:30 UTC 2010
Modified Files:
src/sys/arch/hp700/include: intr.h
Log Message:
Don't expose spl* symbols to userland. Should fix build.
To generate a diff of this commit:
cvs rdiff -u -r1.18 -r1.19 src/sys/arch/hp700/include/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/arch/hp700/include/intr.h
diff -u src/sys/arch/hp700/include/intr.h:1.18 src/sys/arch/hp700/include/intr.h:1.19
--- src/sys/arch/hp700/include/intr.h:1.18 Tue Apr 6 07:47:48 2010
+++ src/sys/arch/hp700/include/intr.h Tue Nov 16 08:59:30 2010
@@ -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)