Bläddra i källkod

Bugs are now a configuration option.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Ralf Baechle 20 år sedan
förälder
incheckning
fdb551a4c5
1 ändrade filer med 6 tillägg och 0 borttagningar
  1. 6 0
      include/asm-mips/bug.h

+ 6 - 0
include/asm-mips/bug.h

@@ -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 */