]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/asm-sparc/bug.h
[PATCH] remove all kernel BUGs
[linux-2.6-omap-h63xx.git] / include / asm-sparc / bug.h
index 0d30a67d87a37f14278b2a50b17fda1925591df4..04151208189f6b3b00e29a9ad5071537170810f4 100644 (file)
@@ -1,6 +1,7 @@
 #ifndef _SPARC_BUG_H
 #define _SPARC_BUG_H
 
+#ifdef CONFIG_BUG
 /* Only use the inline asm until a gcc release that can handle __builtin_trap
  * -rob 2003-06-25
  *
@@ -26,6 +27,8 @@ extern void do_BUG(const char *file, int line);
 #endif
 
 #define HAVE_ARCH_BUG
+#endif
+
 #include <asm-generic/bug.h>
 
 #endif