x86: move phys_cpu_present_map to smpboot.c (64bit)
Signed-off-by: Alexey Starikovskiy <astarikovskiy@suse.de> Signed-off-by: Ingo Molnar <mingo@elte.hu>
This commit is contained in:
parent
7abb3cca33
commit
1d85543265
@ -65,9 +65,6 @@ unsigned int num_processors;
|
|||||||
|
|
||||||
unsigned disabled_cpus __cpuinitdata;
|
unsigned disabled_cpus __cpuinitdata;
|
||||||
|
|
||||||
/* Bitmask of physically existing CPUs */
|
|
||||||
physid_mask_t phys_cpu_present_map = PHYSID_MASK_NONE;
|
|
||||||
|
|
||||||
#ifdef CONFIG_SMP
|
#ifdef CONFIG_SMP
|
||||||
u16 x86_bios_cpu_apicid_init[NR_CPUS] __initdata
|
u16 x86_bios_cpu_apicid_init[NR_CPUS] __initdata
|
||||||
= {[0 ... NR_CPUS - 1] = BAD_APICID };
|
= {[0 ... NR_CPUS - 1] = BAD_APICID };
|
||||||
|
@ -88,12 +88,12 @@ void *x86_bios_cpu_apicid_early_ptr;
|
|||||||
unsigned int num_processors;
|
unsigned int num_processors;
|
||||||
unsigned disabled_cpus __cpuinitdata;
|
unsigned disabled_cpus __cpuinitdata;
|
||||||
|
|
||||||
/* Bitmask of physically existing CPUs */
|
|
||||||
physid_mask_t phys_cpu_present_map;
|
|
||||||
|
|
||||||
u8 apicid_2_node[MAX_APICID];
|
u8 apicid_2_node[MAX_APICID];
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/* Bitmask of physically existing CPUs */
|
||||||
|
physid_mask_t phys_cpu_present_map;
|
||||||
|
|
||||||
/* State of each CPU */
|
/* State of each CPU */
|
||||||
DEFINE_PER_CPU(int, cpu_state) = { 0 };
|
DEFINE_PER_CPU(int, cpu_state) = { 0 };
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user