[TRIVIAL PATCH 25/26] x86: head_64.S: Use vsprintf extension %pSR not print_symbol

From: Joe Perches
Date: Wed Dec 12 2012 - 13:23:17 EST


print_symbol will be removed so replace this instance
with the %pSR vsprintf extension.

Signed-off-by: Joe Perches <joe@xxxxxxxxxxx>
---
arch/x86/kernel/head_64.S | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/x86/kernel/head_64.S b/arch/x86/kernel/head_64.S
index 980053c..37575a5 100644
--- a/arch/x86/kernel/head_64.S
+++ b/arch/x86/kernel/head_64.S
@@ -344,7 +344,7 @@ ENTRY(early_idt_handler)
#ifdef CONFIG_KALLSYMS
leaq early_idt_ripmsg(%rip),%rdi
movq 40(%rsp),%rsi # %rip again
- call __print_symbol
+ call early_printk
#endif
#endif /* EARLY_PRINTK */
1: hlt
@@ -372,7 +372,7 @@ early_recursion_flag:
early_idt_msg:
.asciz "PANIC: early exception %02lx rip %lx:%lx error %lx cr2 %lx\n"
early_idt_ripmsg:
- .asciz "RIP %s\n"
+ .asciz "RIP %pSR\n"
#endif /* CONFIG_EARLY_PRINTK */
.previous

--
1.7.8.112.g3fd21

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/