diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2005-10-29 14:32:38 -0400 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2005-10-29 14:32:38 -0400 |
commit | 8592d4c00eeb92495eaab6374baaad79b30866ed (patch) | |
tree | e51ac8f7f302a4da49ced54b3f2c0520ebb42b7f | |
parent | dbc571690ec4123e4e9fd6e731d8bdfa77b0d90e (diff) |
Fix weirdness in <asm/bug.h>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
-rw-r--r-- | include/asm-mips/bug.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/include/asm-mips/bug.h b/include/asm-mips/bug.h index 8e1144f4a0b0..87d49a5bdc63 100644 --- a/include/asm-mips/bug.h +++ b/include/asm-mips/bug.h | |||
@@ -7,13 +7,12 @@ | |||
7 | 7 | ||
8 | #include <asm/break.h> | 8 | #include <asm/break.h> |
9 | 9 | ||
10 | #ifdef CONFIG_BUG | ||
11 | #define HAVE_ARCH_BUG | ||
12 | #define BUG() \ | 10 | #define BUG() \ |
13 | do { \ | 11 | do { \ |
14 | __asm__ __volatile__("break %0" : : "i" (BRK_BUG)); \ | 12 | __asm__ __volatile__("break %0" : : "i" (BRK_BUG)); \ |
15 | } while (0) | 13 | } while (0) |
16 | #endif | 14 | |
15 | #define HAVE_ARCH_BUG | ||
17 | 16 | ||
18 | #endif | 17 | #endif |
19 | 18 | ||