diff options
author | Harvey Harrison <harvey.harrison@gmail.com> | 2008-01-30 07:33:16 -0500 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-01-30 07:33:16 -0500 |
commit | edcd81199dbad5db11ae91b507cec1d46dd94a49 (patch) | |
tree | 0773c463e2a577a4ee5df5ee98c5eb6434887ad0 | |
parent | 27cc2a812eb504f4aadff5baa862da715fb0f886 (diff) |
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: Harvey Harrison <harvey.harrison@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
-rw-r--r-- | arch/x86/mm/fault_32.c | 2 | ||||
-rw-r--r-- | arch/x86/mm/fault_64.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/arch/x86/mm/fault_32.c b/arch/x86/mm/fault_32.c index 71c722bb6963..13d295506a17 100644 --- a/arch/x86/mm/fault_32.c +++ b/arch/x86/mm/fault_32.c | |||
@@ -512,7 +512,7 @@ bad_area_nosemaphore: | |||
512 | printk_ratelimit()) { | 512 | printk_ratelimit()) { |
513 | printk( | 513 | printk( |
514 | #ifdef CONFIG_X86_32 | 514 | #ifdef CONFIG_X86_32 |
515 | "%s%s[%d]: segfault at %lx ip %08lx sp %08lx error %lx\n", | 515 | "%s%s[%d]: segfault at %lx ip %08lx sp %08lx error %lx", |
516 | #else | 516 | #else |
517 | "%s%s[%d]: segfault at %lx ip %lx sp %lx error %lx\n", | 517 | "%s%s[%d]: segfault at %lx ip %lx sp %lx error %lx\n", |
518 | #endif | 518 | #endif |
diff --git a/arch/x86/mm/fault_64.c b/arch/x86/mm/fault_64.c index 75b7b165bdf3..b606bdefbb72 100644 --- a/arch/x86/mm/fault_64.c +++ b/arch/x86/mm/fault_64.c | |||
@@ -550,7 +550,7 @@ bad_area_nosemaphore: | |||
550 | printk_ratelimit()) { | 550 | printk_ratelimit()) { |
551 | printk( | 551 | printk( |
552 | #ifdef CONFIG_X86_32 | 552 | #ifdef CONFIG_X86_32 |
553 | "%s%s[%d]: segfault at %08lx ip %08lx sp %08lx error %lx\n", | 553 | "%s%s[%d]: segfault at %lx ip %08lx sp %08lx error %lx", |
554 | #else | 554 | #else |
555 | "%s%s[%d]: segfault at %lx ip %lx sp %lx error %lx\n", | 555 | "%s%s[%d]: segfault at %lx ip %lx sp %lx error %lx\n", |
556 | #endif | 556 | #endif |