Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1337119
| From | Alexander Kuleshov <kuleshovmail@gmail.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH v2] x86/head64: no need to define early_idt_ripmsg only if CONFIG_KALLSYMS=n |
| Date | 2016-02-18 09:10 +0100 |
| Message-ID | <r3rOW-2FS-27@gated-at.bofh.it> (permalink) |
| Organization | linux.* mail to news gateway |
We have definition of the early_idt_ripmsg which represents string header for the output of the kernel symbols during early exception. But the header with kernel symbols will be printed in a case if the CONFIG_KALLSYMS=y. Signed-off-by: Alexander Kuleshov <kuleshovmail@gmail.com> --- Changelog: v2: commit message fixed and comment added. arch/x86/kernel/head_64.S | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/x86/kernel/head_64.S b/arch/x86/kernel/head_64.S index ffdc0e8..f93997f 100644 --- a/arch/x86/kernel/head_64.S +++ b/arch/x86/kernel/head_64.S @@ -433,8 +433,10 @@ early_recursion_flag: #ifdef CONFIG_EARLY_PRINTK early_idt_msg: .asciz "PANIC: early exception %02lx rip %lx:%lx error %lx cr2 %lx\n" +#ifdef CONFIG_KALLSYMS early_idt_ripmsg: .asciz "RIP %s\n" +#endif /* CONFIG_KALLSYMS */ #endif /* CONFIG_EARLY_PRINTK */ #define NEXT_PAGE(name) \ -- 2.7.0.364.g4943984
Back to linux.kernel | Previous | Next — Next in thread | Find similar | Unroll thread
[PATCH v2] x86/head64: no need to define early_idt_ripmsg only if CONFIG_KALLSYMS=n Alexander Kuleshov <kuleshovmail@gmail.com> - 2016-02-18 09:10 +0100 Re: [PATCH v2] x86/head64: no need to define early_idt_ripmsg only if CONFIG_KALLSYMS=n Borislav Petkov <bp@suse.de> - 2016-02-18 14:40 +0100
csiph-web