aboutsummaryrefslogtreecommitdiff
path: root/include/asm-mips/bug.h
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2005-10-29 19:32:38 +0100
committerRalf Baechle <ralf@linux-mips.org>2005-10-29 19:32:38 +0100
commit8592d4c00eeb92495eaab6374baaad79b30866ed (patch)
treee51ac8f7f302a4da49ced54b3f2c0520ebb42b7f /include/asm-mips/bug.h
parentdbc571690ec4123e4e9fd6e731d8bdfa77b0d90e (diff)
Fix weirdness in <asm/bug.h>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'include/asm-mips/bug.h')
-rw-r--r--include/asm-mips/bug.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/include/asm-mips/bug.h b/include/asm-mips/bug.h
index 8e1144f4a0b..87d49a5bdc6 100644
--- a/include/asm-mips/bug.h
+++ b/include/asm-mips/bug.h
@@ -7,13 +7,12 @@
#include <asm/break.h>
-#ifdef CONFIG_BUG
-#define HAVE_ARCH_BUG
#define BUG() \
do { \
__asm__ __volatile__("break %0" : : "i" (BRK_BUG)); \
} while (0)
-#endif
+
+#define HAVE_ARCH_BUG
#endif