Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=86b67ef7518d1fcd4489dc464d4c33a274a1c635
Commit:     86b67ef7518d1fcd4489dc464d4c33a274a1c635
Parent:     adac9570966eb2eb137209e552b258d4d1d4825b
Author:     Nobuhiro Iwamatsu <[EMAIL PROTECTED]>
AuthorDate: Mon Jan 1 09:21:43 2007 +0900
Committer:  Paul Mundt <[EMAIL PROTECTED]>
CommitDate: Tue Feb 13 10:54:45 2007 +0900

    sh: Fix handle_BUG() compile error.
    
    handle_BUG() uses TRAPA_BUG_OPCODE which is only defined for
    CONFIG_BUG, make sure it's not built when CONFIG_BUG=n.
    
    Signed-off-by: Nobuhiro Iwamatsu <[EMAIL PROTECTED]>
    Signed-off-by: Paul Mundt <[EMAIL PROTECTED]>
---
 arch/sh/kernel/traps.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

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
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to