提交 27cc2a81 编写于 作者: A Andi Kleen 提交者: Ingo Molnar

x86: use shorter addresses in i386 segfault printks

Signed-off-by: NAndi Kleen <ak@suse.de>
Signed-off-by: NIngo Molnar <mingo@elte.hu>
Signed-off-by: NThomas Gleixner <tglx@linutronix.de>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册