forked from Minki/linux
[PATCH] x86-64: Fix compilation without CONFIG_KALLSYMS
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>
This commit is contained in:
parent
e03508b43f
commit
4b0ff1a94c
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user