aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sh/kernel/traps.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/sh/kernel/traps.c')
-rw-r--r--arch/sh/kernel/traps.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/sh/kernel/traps.c b/arch/sh/kernel/traps.c
index 8f18930d5bf8..09480887076b 100644
--- a/arch/sh/kernel/traps.c
+++ b/arch/sh/kernel/traps.c
@@ -874,7 +874,7 @@ void __init trap_init(void)
874void handle_BUG(struct pt_regs *regs) 874void handle_BUG(struct pt_regs *regs)
875{ 875{
876 enum bug_trap_type tt; 876 enum bug_trap_type tt;
877 tt = report_bug(regs->pc); 877 tt = report_bug(regs->pc, regs);
878 if (tt == BUG_TRAP_TYPE_WARN) { 878 if (tt == BUG_TRAP_TYPE_WARN) {
879 regs->pc += 2; 879 regs->pc += 2;
880 return; 880 return;