[tip:x86/cleanups] x86/fault: Do not print IP in show_fault_oops()
From: tip-bot for Borislav Petkov
Date: Thu Mar 08 2018 - 06:12:33 EST
Commit-ID: 9558080935e0bd744d68a7e1747a7117310623cf
Gitweb: https://git.kernel.org/tip/9558080935e0bd744d68a7e1747a7117310623cf
Author: Borislav Petkov <bp@xxxxxxx>
AuthorDate: Tue, 6 Mar 2018 10:49:13 +0100
Committer: Thomas Gleixner <tglx@xxxxxxxxxxxxx>
CommitDate: Thu, 8 Mar 2018 12:04:59 +0100
x86/fault: Do not print IP in show_fault_oops()
... because __show_regs() already does that.
Signed-off-by: Borislav Petkov <bp@xxxxxxx>
Signed-off-by: Thomas Gleixner <tglx@xxxxxxxxxxxxx>
Cc: Peter Zijlstra <peterz@xxxxxxxxxxxxx>
Cc: Josh Poimboeuf <jpoimboe@xxxxxxxxxx>
Cc: Linus Torvalds <torvalds@xxxxxxxxxxxxxxxxxxxx>
Cc: Andy Lutomirski <luto@xxxxxxxxxxxxxx>
Link: https://lkml.kernel.org/r/20180306094920.16917-3-bp@xxxxxxxxx
---
arch/x86/mm/fault.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/arch/x86/mm/fault.c b/arch/x86/mm/fault.c
index c88573d90f3e..93505990df10 100644
--- a/arch/x86/mm/fault.c
+++ b/arch/x86/mm/fault.c
@@ -699,7 +699,6 @@ show_fault_oops(struct pt_regs *regs, unsigned long error_code,
printk(KERN_CONT "paging request");
printk(KERN_CONT " at %px\n", (void *) address);
- printk(KERN_ALERT "IP: %pS\n", (void *)regs->ip);
dump_pagetable(address);
}