mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-23 23:32:14 +00:00
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:
parent
350bae1d3f
commit
2fe6014757
7 changed files with 10 additions and 35 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue