diff options
author | Sam Ravnborg <sam@ravnborg.org> | 2008-02-17 07:22:59 -0500 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-02-19 10:18:31 -0500 |
commit | da5968ae305ab5209ebc2502ef6a8fbf2cce536c (patch) | |
tree | a4029b1d5f29ea3feefa8880e253333430077138 /arch | |
parent | d01b9ad56e2cc7b6204b89ef10a53e78d70b5877 (diff) |
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 <sam@ravnborg.org>
Cc: Sam Ravnborg <sam@ravnborg.org>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: H. Peter Anvin <hpa@zytor.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/x86/kernel/head_64.S | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kernel/head_64.S b/arch/x86/kernel/head_64.S index 53e5820d6054..eb415043a929 100644 --- a/arch/x86/kernel/head_64.S +++ b/arch/x86/kernel/head_64.S | |||
@@ -255,7 +255,7 @@ ENTRY(secondary_startup_64) | |||
255 | lretq | 255 | lretq |
256 | 256 | ||
257 | /* SMP bootup changes these two */ | 257 | /* SMP bootup changes these two */ |
258 | __CPUINITDATA | 258 | __REFDATA |
259 | .align 8 | 259 | .align 8 |
260 | ENTRY(initial_code) | 260 | ENTRY(initial_code) |
261 | .quad x86_64_start_kernel | 261 | .quad x86_64_start_kernel |