x86: move up & smp variables to setup.c

Signed-off-by: Alexey Starikovskiy <astarikovskiy@suse.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
This commit is contained in:
Alexey Starikovskiy 2008-04-04 23:41:44 +04:00 committed by Ingo Molnar
parent 350bae1d3f
commit 2fe6014757
7 changed files with 10 additions and 35 deletions

View file

@ -86,14 +86,9 @@ void *x86_bios_cpu_apicid_early_ptr;
u8 apicid_2_node[MAX_APICID];
#endif
/* Internal processor count */
unsigned int num_processors;
/* 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.