diff options
Diffstat (limited to 'arch/powerpc/kernel/traps.c')
-rw-r--r-- | arch/powerpc/kernel/traps.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/kernel/traps.c b/arch/powerpc/kernel/traps.c index bf6445ac9f1c..3b8427e6283d 100644 --- a/arch/powerpc/kernel/traps.c +++ b/arch/powerpc/kernel/traps.c | |||
@@ -777,7 +777,7 @@ void __kprobes program_check_exception(struct pt_regs *regs) | |||
777 | return; | 777 | return; |
778 | 778 | ||
779 | if (!(regs->msr & MSR_PR) && /* not user-mode */ | 779 | if (!(regs->msr & MSR_PR) && /* not user-mode */ |
780 | report_bug(regs->nip) == BUG_TRAP_TYPE_WARN) { | 780 | report_bug(regs->nip, regs) == BUG_TRAP_TYPE_WARN) { |
781 | regs->nip += 4; | 781 | regs->nip += 4; |
782 | return; | 782 | return; |
783 | } | 783 | } |