Fedora kernel-2.6.17-1.2142_FC4 patched with stable patch-2.6.17.4-vs2.0.2-rc26.diff
[linux-2.6.git] / include / asm-mips / bug.h
index eb94bb9..87d49a5 100644 (file)
@@ -1,6 +1,10 @@
 #ifndef __ASM_BUG_H
 #define __ASM_BUG_H
 
+#include <linux/config.h>
+
+#ifdef CONFIG_BUG
+
 #include <asm/break.h>
 
 #define BUG()                                                          \
@@ -9,6 +13,9 @@ do {                                                                   \
 } while (0)
 
 #define HAVE_ARCH_BUG
-#include <asm-generic/bug.h>
 
 #endif
+
+#include <asm-generic/bug.h>
+
+#endif /* __ASM_BUG_H */