[PATCH] Introduce sys_splice() system call
[powerpc.git] / include / asm-powerpc / hardirq.h
index 2c0a31b..288e14d 100644 (file)
@@ -1,5 +1,9 @@
 #ifndef _ASM_POWERPC_HARDIRQ_H
 #define _ASM_POWERPC_HARDIRQ_H
+#ifdef __KERNEL__
+
+#include <asm/irq.h>
+#include <asm/bug.h>
 
 /* The __last_jiffy_stamp field is needed to ensure that no decrementer
  * interrupt is lost on SMP machines. Since on most CPUs it is in the same
@@ -21,4 +25,5 @@ static inline void ack_bad_irq(int irq)
        BUG();
 }
 
+#endif /* __KERNEL__ */
 #endif /* _ASM_POWERPC_HARDIRQ_H */