diff options
Diffstat (limited to 'arch/ppc')
-rw-r--r-- | arch/ppc/kernel/traps.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/ppc/kernel/traps.c b/arch/ppc/kernel/traps.c index aea100be52c8..0eaef7c8378b 100644 --- a/arch/ppc/kernel/traps.c +++ b/arch/ppc/kernel/traps.c | |||
@@ -619,7 +619,7 @@ void program_check_exception(struct pt_regs *regs) | |||
619 | return; | 619 | return; |
620 | 620 | ||
621 | if (!(regs->msr & MSR_PR) && /* not user-mode */ | 621 | if (!(regs->msr & MSR_PR) && /* not user-mode */ |
622 | report_bug(regs->nip) == BUG_TRAP_TYPE_WARN) { | 622 | report_bug(regs->nip, regs) == BUG_TRAP_TYPE_WARN) { |
623 | regs->nip += 4; | 623 | regs->nip += 4; |
624 | return; | 624 | return; |
625 | } | 625 | } |