Commit d504e39e authored by Randy Dunlap's avatar Randy Dunlap Committed by Ingo Molnar

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: default avatarRandy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
Signed-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
parent 9d09951d
...@@ -248,7 +248,7 @@ static inline void __init reserve_crashkernel(void) ...@@ -248,7 +248,7 @@ static inline void __init reserve_crashkernel(void)
unsigned __initdata ebda_addr; unsigned __initdata ebda_addr;
unsigned __initdata ebda_size; 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 * there is a real-mode segmented pointer pointing to the
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment