patch-2.4.0-test11 linux/include/asm-ppc/irq.h

Next file: linux/include/asm-ppc/kgdb.h
Previous file: linux/include/asm-ppc/ipcbuf.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.0-test10/linux/include/asm-ppc/irq.h linux/include/asm-ppc/irq.h
@@ -1,8 +1,8 @@
-#include <linux/config.h>
-
+#ifdef __KERNEL__
 #ifndef _ASM_IRQ_H
 #define _ASM_IRQ_H
 
+#include <linux/config.h>
 #include <asm/machdep.h>		/* ppc_md */
 
 extern void disable_irq(unsigned int);
@@ -217,3 +217,4 @@
 extern unsigned int ppc_lost_interrupts[NR_MASK_WORDS];
 
 #endif /* _ASM_IRQ_H */
+#endif /* __KERNEL__ */

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)