Messages in this thread Patch in this message | | | From | Joe Perches <> | Subject | [TRIVIAL PATCH 25/26] x86: head_64.S: Use vsprintf extension %pSR not print_symbol | Date | Wed, 12 Dec 2012 10:19:14 -0800 |
| |
print_symbol will be removed so replace this instance with the %pSR vsprintf extension.
Signed-off-by: Joe Perches <joe@perches.com> --- 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
| |