From: Sam Ravnborg Date: Sun, 17 Feb 2008 12:22:59 +0000 (+0100) Subject: x86: fix section mismatch in head_64.S:initial_code X-Git-Tag: v2.6.25-rc3~109^2~17 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=da5968ae305ab5209ebc2502ef6a8fbf2cce536c;p=linux-2.6-omap-h63xx.git x86: fix section mismatch in head_64.S:initial_code initial_code are initially used to hold a function pointer from __init and later from __cpuinit. This confuses modpost and changing initial_code to REFDATA silence the warning. (But now we do not discard the variable anymore). Signed-off-by: Sam Ravnborg Cc: Sam Ravnborg Cc: Andrew Morton Cc: H. Peter Anvin Signed-off-by: Ingo Molnar Signed-off-by: Thomas Gleixner --- diff --git a/arch/x86/kernel/head_64.S b/arch/x86/kernel/head_64.S index 53e5820d605..eb415043a92 100644 --- a/arch/x86/kernel/head_64.S +++ b/arch/x86/kernel/head_64.S @@ -255,7 +255,7 @@ ENTRY(secondary_startup_64) lretq /* SMP bootup changes these two */ - __CPUINITDATA + __REFDATA .align 8 ENTRY(initial_code) .quad x86_64_start_kernel