current breakage

Masao Uebayashi <[email protected]> Tue, 16 Nov 2010 11:21:47 +0900
Newsgroups gmane.os.netbsd.ports.hp700
Message-ID <[email protected]>
--DIOMP1UsTsWJauNi
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

I mistakenly broke hp700 userland build.  This is a possible fix.
Could anyone test?

Thanks for help.

--DIOMP1UsTsWJauNi
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="hp700.di"

Index: sys/arch/hp700/include/intr.h
===================================================================
RCS file: /cvsroot/src/sys/arch/hp700/include/intr.h,v
retrieving revision 1.18
diff -u -p -r1.18 intr.h
--- sys/arch/hp700/include/intr.h	6 Apr 2010 07:47:48 -0000	1.18
+++ sys/arch/hp700/include/intr.h	16 Nov 2010 00:35:17 -0000
@@ -52,6 +52,8 @@
 #define	IST_EDGE	2	/* edge-triggered */
 #define	IST_LEVEL	3	/* level-triggered */
 
+#ifdef _KERNEL
+
 #ifndef _LOCORE
 
 /* The priority level masks. */
@@ -92,4 +94,6 @@ splraiseipl(ipl_cookie_t icookie)
 
 #endif /* !_LOCORE */
 
+#endif /* _KERNEL */
+
 #endif /* !_HP700_INTR_H_ */

--DIOMP1UsTsWJauNi--