]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/asm-arm/bug.h
[PATCH] remove all kernel BUGs
[linux-2.6-omap-h63xx.git] / include / asm-arm / bug.h
index 5e91b90a8181cb8a9b7e858757792d14d3a22896..24d11672eb601979d2ca64e3adf60dc923dfe22a 100644 (file)
@@ -3,6 +3,7 @@
 
 #include <linux/config.h>
 
+#ifdef CONFIG_BUG
 #ifdef CONFIG_DEBUG_BUGVERBOSE
 extern volatile void __bug(const char *file, int line, void *data);
 
@@ -17,6 +18,8 @@ extern volatile void __bug(const char *file, int line, void *data);
 #endif
 
 #define HAVE_ARCH_BUG
+#endif
+
 #include <asm-generic/bug.h>
 
 #endif