]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/asm-frv/bug.h
[PATCH] remove all kernel BUGs
[linux-2.6-omap-h63xx.git] / include / asm-frv / bug.h
index 011860b288187de259001451400eed7e0b1c4437..074c0d5770ebd4cb6f5f4f64645323da6bd812fc 100644 (file)
@@ -13,6 +13,7 @@
 
 #include <linux/config.h>
 
+#ifdef CONFIG_BUG
 /*
  * Tell the user there is some problem.
  */
@@ -45,6 +46,7 @@ do {                                          \
 #define HAVE_ARCH_KGDB_BAD_PAGE
 #define kgdb_bad_page(page) do { kgdb_raise(SIGABRT); } while(0)
 #endif
+#endif
 
 #include <asm-generic/bug.h>