diff options
Diffstat (limited to 'arch/frv')
-rw-r--r-- | arch/frv/include/asm/bug.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/arch/frv/include/asm/bug.h b/arch/frv/include/asm/bug.h index 6b1b44d71028..2e054508a2f6 100644 --- a/arch/frv/include/asm/bug.h +++ b/arch/frv/include/asm/bug.h | |||
@@ -30,7 +30,7 @@ extern void __debug_bug_printk(const char *file, unsigned line); | |||
30 | do { \ | 30 | do { \ |
31 | __debug_bug_trap(signr); \ | 31 | __debug_bug_trap(signr); \ |
32 | asm volatile("nop"); \ | 32 | asm volatile("nop"); \ |
33 | } while(0) | 33 | } while(1) |
34 | 34 | ||
35 | #define HAVE_ARCH_BUG | 35 | #define HAVE_ARCH_BUG |
36 | #define BUG() \ | 36 | #define BUG() \ |
@@ -46,7 +46,8 @@ do { \ | |||
46 | #define HAVE_ARCH_KGDB_BAD_PAGE | 46 | #define HAVE_ARCH_KGDB_BAD_PAGE |
47 | #define kgdb_bad_page(page) do { kgdb_raise(SIGABRT); } while(0) | 47 | #define kgdb_bad_page(page) do { kgdb_raise(SIGABRT); } while(0) |
48 | #endif | 48 | #endif |
49 | #endif | 49 | |
50 | #endif /* CONFIG_BUG */ | ||
50 | 51 | ||
51 | #include <asm-generic/bug.h> | 52 | #include <asm-generic/bug.h> |
52 | 53 | ||