From: Nobuhiro I. <he...@t-...> - 2006-12-31 16:09:34
|
A Happy New Year to all ! I found the compile error in handle_BUG function. arch/sh/kernel/traps.c: In function `handle_BUG': arch/sh/kernel/traps.c:163: warning: implicit declaration of function `do_bug_verbose' arch/sh/kernel/traps.c:164: error: `TRAPA_BUG_OPCODE' undeclared (first use in this function) arch/sh/kernel/traps.c:164: error: (Each undeclared identifier is reported only once arch/sh/kernel/traps.c:164: error: for each function it appears in.) make[1]: *** [arch/sh/kernel/traps.o] Error 1 make: *** [arch/sh/kernel] Error 2 I append the patch to correct it. regards , Nobuhiro -- Nobuhiro Iwamatsu E-Mail : he...@t-... GPG ID : 3170EBE9 Signed-off-by: Nobuhiro Iwamatsu <he...@t-...> diff --git a/arch/sh/kernel/traps.c b/arch/sh/kernel/traps.c index ec11015..e91224f 100644 --- a/arch/sh/kernel/traps.c +++ b/arch/sh/kernel/traps.c @@ -156,13 +156,13 @@ static inline void do_bug_verbose(struct pt_regs *regs) { } #endif /* CONFIG_DEBUG_BUGVERBOSE */ -#endif /* CONFIG_BUG */ void handle_BUG(struct pt_regs *regs) { do_bug_verbose(regs); die("Kernel BUG", regs, TRAPA_BUG_OPCODE & 0xff); } +#endif /* CONFIG_BUG */ /* * handle an instruction that does an unaligned memory access by emulating the |