Bugs are now a configuration option.
authorRalf Baechle <ralf@linux-mips.org>
Thu, 19 May 2005 12:08:04 +0000 (12:08 +0000)
committerRalf Baechle <ralf@linux-mips.org>
Sat, 29 Oct 2005 18:31:15 +0000 (19:31 +0100)
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
include/asm-mips/bug.h

index 3f594b440abcdb65151dc4fe90b466d4e998ac14..758712f1c88f8767016a477351aacb97735f47d8 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>
 
 #ifdef CONFIG_BUG
@@ -14,3 +18,5 @@ do {                                                                  \
 #include <asm-generic/bug.h>
 
 #endif
+
+#endif /* __ASM_BUG_H */