summaryrefslogtreecommitdiffstats
path: root/include/asm-mips/bug.h
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2005-05-19 14:08:04 +0200
committerRalf Baechle <ralf@linux-mips.org>2005-10-29 20:31:15 +0200
commitfdb551a4c59945f868b8855e5baf161c9f1c0518 (patch)
tree6038d4a05ba6ac87008ce83d1295d742919a9c71 /include/asm-mips/bug.h
parentOn MIPS the struct sigev preamble is only 8 bytes. (diff)
downloadlinux-fdb551a4c59945f868b8855e5baf161c9f1c0518.tar.xz
linux-fdb551a4c59945f868b8855e5baf161c9f1c0518.zip
Bugs are now a configuration option.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
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 3f594b440abc..758712f1c88f 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 */