diff options
author | Marcin Slusarz <marcin.slusarz@gmail.com> | 2008-08-10 22:12:37 (GMT) |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-08-18 05:48:40 (GMT) |
commit | 67d0c9ebdc9f5f356657146b4e862b2d745e9e78 (patch) | |
tree | bc33e613f58894d4d25c823e70e7c16dec752f73 /arch/x86/kernel/mpparse.c | |
parent | d554d9a4295dd0595d12eeccbc55d1f495b15176 (diff) | |
download | linux-fsl-qoriq-67d0c9ebdc9f5f356657146b4e862b2d745e9e78.tar.xz |
x86: fix MP_processor_info section mismatch warning
WARNING: arch/x86/kernel/built-in.o(.cpuinit.text+0x1fe7): Section mismatch in reference from the function MP_processor_info() to the variable .init.data:x86_quirks
The function __cpuinit MP_processor_info() references
a variable __initdata x86_quirks.
If x86_quirks is only used by MP_processor_info then
annotate x86_quirks with a matching annotation.
MP_processor_info uses x86_quirks which is __init and is used only from
smp_read_mpc and construct_default_ISA_mptable which are __init
Signed-off-by: Marcin Slusarz <marcin.slusarz@gmail.com>
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/kernel/mpparse.c')
-rw-r--r-- | arch/x86/kernel/mpparse.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kernel/mpparse.c b/arch/x86/kernel/mpparse.c index 6780905..9942fc7 100644 --- a/arch/x86/kernel/mpparse.c +++ b/arch/x86/kernel/mpparse.c @@ -49,7 +49,7 @@ static int __init mpf_checksum(unsigned char *mp, int len) return sum & 0xFF; } -static void __cpuinit MP_processor_info(struct mpc_config_processor *m) +static void __init MP_processor_info(struct mpc_config_processor *m) { int apicid; char *bootup_cpu = ""; |