aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/smpboot.c
diff options
context:
space:
mode:
authorAlexey Starikovskiy <astarikovskiy@suse.de>2008-04-04 15:41:44 -0400
committerIngo Molnar <mingo@elte.hu>2008-04-17 11:41:35 -0400
commit2fe60147570231cde0d1f14711d2e34ccdf54b65 (patch)
tree83c1e87d9ce3475b68c97f51f95be0467c83a61d /arch/x86/kernel/smpboot.c
parent350bae1d3f0d0c763c5bb9cc5fb5c363bd0086db (diff)
x86: move up & smp variables to setup.c
Signed-off-by: Alexey Starikovskiy <astarikovskiy@suse.de> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/kernel/smpboot.c')
-rw-r--r--arch/x86/kernel/smpboot.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/arch/x86/kernel/smpboot.c b/arch/x86/kernel/smpboot.c
index abf63767cd46..21ad3f396a05 100644
--- a/arch/x86/kernel/smpboot.c
+++ b/arch/x86/kernel/smpboot.c
@@ -86,14 +86,9 @@ void *x86_bios_cpu_apicid_early_ptr;
86u8 apicid_2_node[MAX_APICID]; 86u8 apicid_2_node[MAX_APICID];
87#endif 87#endif
88 88
89/* Internal processor count */
90unsigned int num_processors;
91
92/* State of each CPU */ 89/* State of each CPU */
93DEFINE_PER_CPU(int, cpu_state) = { 0 }; 90DEFINE_PER_CPU(int, cpu_state) = { 0 };
94 91
95unsigned disabled_cpus __cpuinitdata;
96
97/* Store all idle threads, this can be reused instead of creating 92/* Store all idle threads, this can be reused instead of creating
98* a new thread. Also avoids complicated thread destroy functionality 93* a new thread. Also avoids complicated thread destroy functionality
99* for idle threads. 94* for idle threads.