From: Randy Dunlap Date: Thu, 5 Oct 2006 17:07:26 +0000 (+0200) Subject: [PATCH] x86-64: Fix compilation without CONFIG_KALLSYMS X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=4b0ff1a94cba36a35734c84f377e49cacc77f293;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.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;