]> nv-tegra.nvidia Code Review - linux-2.6.git/blobdiff - include/asm-powerpc/i8259.h
[PATCH] powerpc: sanitize header files for user space includes
[linux-2.6.git] / include / asm-powerpc / i8259.h
index fc4bfee124d7016689b785becfc741f5ae55e60e..0392159e16e4f9cbd3b1c99519a858bf505755e8 100644 (file)
@@ -1,5 +1,6 @@
 #ifndef _ASM_POWERPC_I8259_H
 #define _ASM_POWERPC_I8259_H
+#ifdef __KERNEL__
 
 #include <linux/irq.h>
 
@@ -9,4 +10,5 @@ extern void i8259_init(unsigned long intack_addr, int offset);
 extern int i8259_irq(struct pt_regs *regs);
 extern int i8259_irq_cascade(struct pt_regs *regs, void *unused);
 
+#endif /* __KERNEL__ */
 #endif /* _ASM_POWERPC_I8259_H */