]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
[PATCH] x86-64: Fix compilation without CONFIG_KALLSYMS
authorRandy Dunlap <rdunlap@xenotime.net>
Thu, 5 Oct 2006 17:07:26 +0000 (19:07 +0200)
committerLinus Torvalds <torvalds@g5.osdl.org>
Thu, 5 Oct 2006 22:55:15 +0000 (15:55 -0700)
Include linux/kallsyms.h unconditionally for print_symbol().

Signed-off-by: Randy Dunlap <rdunlap@xenotime.net>
Signed-off-by: Andi Kleen <ak@suse.de>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/x86_64/kernel/traps.c

index 01f2a8d254c2fd6683b423910b1af36a046add42..7819022a8db5986e29bf36247be94cab99cb7f06 100644 (file)
@@ -23,6 +23,7 @@
 #include <linux/delay.h>
 #include <linux/spinlock.h>
 #include <linux/interrupt.h>
+#include <linux/kallsyms.h>
 #include <linux/module.h>
 #include <linux/moduleparam.h>
 #include <linux/nmi.h>
@@ -115,7 +116,6 @@ static int call_trace = 1;
 #endif
 
 #ifdef CONFIG_KALLSYMS
-# include <linux/kallsyms.h>
 void printk_address(unsigned long address)
 {
        unsigned long offset = 0, symsize;