aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86_64/kernel/traps.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86_64/kernel/traps.c')
-rw-r--r--arch/x86_64/kernel/traps.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86_64/kernel/traps.c b/arch/x86_64/kernel/traps.c
index aac1c0be54c6..7fa155c394d9 100644
--- a/arch/x86_64/kernel/traps.c
+++ b/arch/x86_64/kernel/traps.c
@@ -531,7 +531,7 @@ void die(const char * str, struct pt_regs * regs, long err)
531 unsigned long flags = oops_begin(); 531 unsigned long flags = oops_begin();
532 532
533 if (!user_mode(regs)) 533 if (!user_mode(regs))
534 report_bug(regs->rip); 534 report_bug(regs->rip, regs);
535 535
536 __die(str, regs, err); 536 __die(str, regs, err);
537 oops_end(flags); 537 oops_end(flags);