]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
x86_32: disable_pse must be __cpuinitdata
authorAdrian Bunk <bunk@kernel.org>
Wed, 19 Dec 2007 22:20:19 +0000 (23:20 +0100)
committerIngo Molnar <mingo@elte.hu>
Wed, 19 Dec 2007 22:20:19 +0000 (23:20 +0100)
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>
arch/x86/kernel/setup_32.c

index e1e18c34c8219e5760db76bb06097fba5c2dec5a..9c24b45b513c83e5e1354e2b92d340f86d476f07 100644 (file)
@@ -67,7 +67,7 @@
    address, and must not be in the .bss segment! */
 unsigned long init_pg_tables_end __initdata = ~0UL;
 
-int disable_pse __devinitdata = 0;
+int disable_pse __cpuinitdata = 0;
 
 /*
  * Machine setup..