x86: move disabled_cpus to smpboot.c (64bit)
Signed-off-by: Alexey Starikovskiy <astarikovskiy@suse.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
diff --git a/arch/x86/kernel/smpboot.c b/arch/x86/kernel/smpboot.c
index fd0bdd3..f45d740 100644
--- a/arch/x86/kernel/smpboot.c
+++ b/arch/x86/kernel/smpboot.c
@@ -84,8 +84,6 @@
= { [0 ... NR_CPUS-1] = BAD_APICID };
void *x86_bios_cpu_apicid_early_ptr;
-unsigned disabled_cpus __cpuinitdata;
-
u8 apicid_2_node[MAX_APICID];
#endif
@@ -98,6 +96,8 @@
/* State of each CPU */
DEFINE_PER_CPU(int, cpu_state) = { 0 };
+unsigned disabled_cpus __cpuinitdata;
+
/* Store all idle threads, this can be reused instead of creating
* a new thread. Also avoids complicated thread destroy functionality
* for idle threads.