1
0
Fork 0

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>
hifive-unleashed-5.1
Randy Dunlap 2008-01-30 13:33:05 +01:00 committed by Ingo Molnar
parent 9d09951da9
commit d504e39efd
1 changed files with 1 additions and 1 deletions

View File

@ -248,7 +248,7 @@ static inline void __init reserve_crashkernel(void)
unsigned __initdata ebda_addr;
unsigned __initdata ebda_size;
static void discover_ebda(void)
static void __init discover_ebda(void)
{
/*
* there is a real-mode segmented pointer pointing to the