Commit 27cc2a81 authored by Andi Kleen's avatar Andi Kleen Committed by Ingo Molnar

x86: use shorter addresses in i386 segfault printks

Signed-off-by: default avatarAndi Kleen <ak@suse.de>
Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
Signed-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
parent 0c07ee38
...@@ -512,7 +512,7 @@ void __kprobes do_page_fault(struct pt_regs *regs, unsigned long error_code) ...@@ -512,7 +512,7 @@ void __kprobes do_page_fault(struct pt_regs *regs, unsigned long error_code)
printk_ratelimit()) { printk_ratelimit()) {
printk( printk(
#ifdef CONFIG_X86_32 #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\n",
#else #else
"%s%s[%d]: segfault at %lx ip %lx sp %lx error %lx\n", "%s%s[%d]: segfault at %lx ip %lx sp %lx error %lx\n",
#endif #endif
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment