aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/setup_64.c
diff options
context:
space:
mode:
authorRandy Dunlap <randy.dunlap@oracle.com>2008-01-30 07:33:05 -0500
committerIngo Molnar <mingo@elte.hu>2008-01-30 07:33:05 -0500
commitd504e39efd4e64a1a6e01dc85fd8a33fdb196dce (patch)
tree73b7c0d60d7e48d6e538f7cdfab4fcbdff29b61d /arch/x86/kernel/setup_64.c
parent9d09951da948c0ca30944df2a9b78e68d6e0744c (diff)
x86: discover_ebda section mismatch
Fix section mismatches. discover_ebda() can be __init. WARNING: vmlinux.o(.text+0x738a): Section mismatch: reference to .init.data:ebda_addr (between 'discover_ebda' and 'get_model_name') WARNING: vmlinux.o(.text+0x73c4): Section mismatch: reference to .init.data:ebda_size (between 'discover_ebda' and 'get_model_name') Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com> Signed-off-by: Ingo Molnar <mingo@elte.hu> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'arch/x86/kernel/setup_64.c')
-rw-r--r--arch/x86/kernel/setup_64.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kernel/setup_64.c b/arch/x86/kernel/setup_64.c
index a7124bfb8578..07547febac7a 100644
--- a/arch/x86/kernel/setup_64.c
+++ b/arch/x86/kernel/setup_64.c
@@ -248,7 +248,7 @@ static inline void __init reserve_crashkernel(void)
248unsigned __initdata ebda_addr; 248unsigned __initdata ebda_addr;
249unsigned __initdata ebda_size; 249unsigned __initdata ebda_size;
250 250
251static void discover_ebda(void) 251static void __init discover_ebda(void)
252{ 252{
253 /* 253 /*
254 * there is a real-mode segmented pointer pointing to the 254 * there is a real-mode segmented pointer pointing to the