[PATCH] Introduce sys_splice() system call
[powerpc.git] / include / asm-powerpc / mpic.h
index bf7e717..6b9e781 100644 (file)
@@ -1,5 +1,6 @@
 #ifndef _ASM_POWERPC_MPIC_H
 #define _ASM_POWERPC_MPIC_H
+#ifdef __KERNEL__
 
 #include <linux/irq.h>
 
@@ -286,4 +287,5 @@ extern int mpic_get_irq(struct pt_regs *regs);
 /* global mpic for pSeries */
 extern struct mpic *pSeries_mpic;
 
+#endif /* __KERNEL__ */
 #endif /* _ASM_POWERPC_MPIC_H */