summaryrefslogtreecommitdiffstats
path: root/include/asm-mips/bug.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-mips/bug.h')
-rw-r--r--include/asm-mips/bug.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/asm-mips/bug.h b/include/asm-mips/bug.h
index 3f594b440ab..758712f1c88 100644
--- a/include/asm-mips/bug.h
+++ b/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 */