diff options
author | Adrian Bunk <bunk@kernel.org> | 2007-12-19 17:20:19 -0500 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2007-12-19 17:20:19 -0500 |
commit | 3d054f0fade192b454592817c16e0f49e3e295dc (patch) | |
tree | 2e27475f1a4ce72424ad1851e03c3204b7905805 /arch/x86 | |
parent | 3446fa057c33b5464ba6891866c24cd57daf023c (diff) |
x86_32: disable_pse must be __cpuinitdata
CONFIG_HOTPLUG_CPU=y:
WARNING: vmlinux.o(.text+0xfa52): Section mismatch: reference to .init.data:disable_pse (between 'identify_cpu' and 'identify_secondary_cpu')
[ akpm@linux-foundation.org: initializer fix. ]
Signed-off-by: Adrian Bunk <bunk@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'arch/x86')
-rw-r--r-- | arch/x86/kernel/setup_32.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kernel/setup_32.c b/arch/x86/kernel/setup_32.c index e1e18c34c821..9c24b45b513c 100644 --- a/arch/x86/kernel/setup_32.c +++ b/arch/x86/kernel/setup_32.c | |||
@@ -67,7 +67,7 @@ | |||
67 | address, and must not be in the .bss segment! */ | 67 | address, and must not be in the .bss segment! */ |
68 | unsigned long init_pg_tables_end __initdata = ~0UL; | 68 | unsigned long init_pg_tables_end __initdata = ~0UL; |
69 | 69 | ||
70 | int disable_pse __devinitdata = 0; | 70 | int disable_pse __cpuinitdata = 0; |
71 | 71 | ||
72 | /* | 72 | /* |
73 | * Machine setup.. | 73 | * Machine setup.. |