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: v2.6.19-rc2~315 X-Git-Url: https://openfabrics.org/gitweb/?a=commitdiff_plain;h=4b0ff1a94cba36a35734c84f377e49cacc77f293;p=~shefty%2Frdma-dev.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 01f2a8d254c..7819022a8db 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;