]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
x86: fix section mismatch in head_64.S:initial_code
authorSam Ravnborg <sam@ravnborg.org>
Sun, 17 Feb 2008 12:22:59 +0000 (13:22 +0100)
committerIngo Molnar <mingo@elte.hu>
Tue, 19 Feb 2008 15:18:31 +0000 (16:18 +0100)
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>
arch/x86/kernel/head_64.S

index 53e5820d6054949967c26595a2457f97961c6e6e..eb415043a9297d742f3df5d9a1de10fa35d0b69b 100644 (file)
@@ -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