aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-sh/bug.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-sh/bug.h')
-rw-r--r--include/asm-sh/bug.h9
1 files changed, 2 insertions, 7 deletions
diff --git a/include/asm-sh/bug.h b/include/asm-sh/bug.h
index a78d482e8b2f..c01718040166 100644
--- a/include/asm-sh/bug.h
+++ b/include/asm-sh/bug.h
@@ -3,7 +3,7 @@
3 3
4#define TRAPA_BUG_OPCODE 0xc33e /* trapa #0x3e */ 4#define TRAPA_BUG_OPCODE 0xc33e /* trapa #0x3e */
5 5
6#ifdef CONFIG_BUG 6#ifdef CONFIG_GENERIC_BUG
7#define HAVE_ARCH_BUG 7#define HAVE_ARCH_BUG
8#define HAVE_ARCH_WARN_ON 8#define HAVE_ARCH_WARN_ON
9 9
@@ -72,12 +72,7 @@ do { \
72 unlikely(__ret_warn_on); \ 72 unlikely(__ret_warn_on); \
73}) 73})
74 74
75struct pt_regs; 75#endif /* CONFIG_GENERIC_BUG */
76
77/* arch/sh/kernel/traps.c */
78void handle_BUG(struct pt_regs *);
79
80#endif /* CONFIG_BUG */
81 76
82#include <asm-generic/bug.h> 77#include <asm-generic/bug.h>
83 78