]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/asm-powerpc/bug.h
[PATCH] lpfc 8.1.3: Derive supported speeds from LMT field in the READ_CONFIG
[linux-2.6-omap-h63xx.git] / include / asm-powerpc / bug.h
index b001ecb3cd9956030f8520b6fad183eb3186eee7..99817a802ca4e4d7c6a6784b3be2d39620018aa0 100644 (file)
@@ -1,5 +1,6 @@
 #ifndef _ASM_POWERPC_BUG_H
 #define _ASM_POWERPC_BUG_H
+#ifdef __KERNEL__
 
 #include <asm/asm-compat.h>
 /*
@@ -67,4 +68,5 @@ struct bug_entry *find_bug(unsigned long bugaddr);
 
 #include <asm-generic/bug.h>
 
+#endif /* __KERNEL__ */
 #endif /* _ASM_POWERPC_BUG_H */