summaryrefslogtreecommitdiffstats
path: root/include/asm-ppc/hardirq.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-ppc/hardirq.h')
-rw-r--r--include/asm-ppc/hardirq.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/asm-ppc/hardirq.h b/include/asm-ppc/hardirq.h
index f7c12df77..8a270c8c1 100644
--- a/include/asm-ppc/hardirq.h
+++ b/include/asm-ppc/hardirq.h
@@ -1,3 +1,4 @@
+#ifdef __KERNEL__
#ifndef __ASM_HARDIRQ_H
#define __ASM_HARDIRQ_H
@@ -99,3 +100,4 @@ extern void synchronize_irq(void);
#endif /* CONFIG_SMP */
#endif /* __ASM_HARDIRQ_H */
+#endif /* __KERNEL__ */