diff options
Diffstat (limited to 'arch/parisc')
-rw-r--r-- | arch/parisc/kernel/traps.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/parisc/kernel/traps.c b/arch/parisc/kernel/traps.c index c3ec9f1ec0f3..f9bca2d74b38 100644 --- a/arch/parisc/kernel/traps.c +++ b/arch/parisc/kernel/traps.c | |||
@@ -302,7 +302,7 @@ static void handle_break(struct pt_regs *regs) | |||
302 | if (unlikely(iir == PARISC_BUG_BREAK_INSN && !user_mode(regs))) { | 302 | if (unlikely(iir == PARISC_BUG_BREAK_INSN && !user_mode(regs))) { |
303 | /* check if a BUG() or WARN() trapped here. */ | 303 | /* check if a BUG() or WARN() trapped here. */ |
304 | enum bug_trap_type tt; | 304 | enum bug_trap_type tt; |
305 | tt = report_bug(regs->iaoq[0] & ~3); | 305 | tt = report_bug(regs->iaoq[0] & ~3, regs); |
306 | if (tt == BUG_TRAP_TYPE_WARN) { | 306 | if (tt == BUG_TRAP_TYPE_WARN) { |
307 | regs->iaoq[0] += 4; | 307 | regs->iaoq[0] += 4; |
308 | regs->iaoq[1] += 4; | 308 | regs->iaoq[1] += 4; |