aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2005-05-19 12:08:04 +0000
committerRalf Baechle <ralf@linux-mips.org>2005-10-29 19:31:15 +0100
commitfdb551a4c59945f868b8855e5baf161c9f1c0518 (patch)
tree6038d4a05ba6ac87008ce83d1295d742919a9c71
parent629c83f89b943421cd03257e7028a073baa9ca5a (diff)
Bugs are now a configuration option.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
-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 */