Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit edcd8119 authored by Harvey Harrison's avatar Harvey Harrison Committed by Ingo Molnar
Browse files

x86: unify printk strings in fault_32|64.c



Adding the address of the faulting library missed removing a
line ending from X86_32.

Also update the shorter printk format for X86_32 in fault_64.c
to make it easier to se the remaining differences.

Signed-off-by: default avatarHarvey Harrison <harvey.harrison@gmail.com>
Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
Signed-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
parent 27cc2a81
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -512,7 +512,7 @@ void __kprobes do_page_fault(struct pt_regs *regs, unsigned long error_code)
		    printk_ratelimit()) {
			printk(
#ifdef CONFIG_X86_32
			"%s%s[%d]: segfault at %lx ip %08lx sp %08lx error %lx\n",
			"%s%s[%d]: segfault at %lx ip %08lx sp %08lx error %lx",
#else
			"%s%s[%d]: segfault at %lx ip %lx sp %lx error %lx\n",
#endif
+1 −1
Original line number Diff line number Diff line
@@ -550,7 +550,7 @@ asmlinkage void __kprobes do_page_fault(struct pt_regs *regs,
		    printk_ratelimit()) {
			printk(
#ifdef CONFIG_X86_32
			"%s%s[%d]: segfault at %08lx ip %08lx sp %08lx error %lx\n",
			"%s%s[%d]: segfault at %lx ip %08lx sp %08lx error %lx",
#else
			"%s%s[%d]: segfault at %lx ip %lx sp %lx error %lx\n",
#endif