From: Randy Dunlap Date: Thu, 5 Oct 2006 17:07:26 +0000 (+0200) Subject: [PATCH] x86-64: Fix compilation without CONFIG_KALLSYMS X-Git-Tag: firefly_0821_release~32371 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=4b0ff1a94cba36a35734c84f377e49cacc77f293;p=firefly-linux-kernel-4.4.55.git [PATCH] x86-64: Fix compilation without CONFIG_KALLSYMS Include linux/kallsyms.h unconditionally for print_symbol(). Signed-off-by: Randy Dunlap Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds --- diff --git a/arch/x86_64/kernel/traps.c b/arch/x86_64/kernel/traps.c index 01f2a8d254c2..7819022a8db5 100644 --- a/arch/x86_64/kernel/traps.c +++ b/arch/x86_64/kernel/traps.c @@ -23,6 +23,7 @@ #include #include #include +#include #include #include #include @@ -115,7 +116,6 @@ static int call_trace = 1; #endif #ifdef CONFIG_KALLSYMS -# include void printk_address(unsigned long address) { unsigned long offset = 0, symsize;