mirror of
https://github.com/torvalds/linux.git
synced 2024-12-14 15:13:52 +00:00
x86: move num_processors to smpboot.c (64 bit)
Signed-off-by: Alexey Starikovskiy <astarikovskiy@suse.de> Signed-off-by: Ingo Molnar <mingo@elte.hu>
This commit is contained in:
parent
1d85543265
commit
7b8cbd2c2f
@ -60,9 +60,6 @@ int nr_ioapics;
|
||||
unsigned int boot_cpu_physical_apicid = -1U;
|
||||
EXPORT_SYMBOL(boot_cpu_physical_apicid);
|
||||
|
||||
/* Internal processor count */
|
||||
unsigned int num_processors;
|
||||
|
||||
unsigned disabled_cpus __cpuinitdata;
|
||||
|
||||
#ifdef CONFIG_SMP
|
||||
|
@ -84,13 +84,14 @@ u16 x86_bios_cpu_apicid_init[NR_CPUS] __initdata
|
||||
= { [0 ... NR_CPUS-1] = BAD_APICID };
|
||||
void *x86_bios_cpu_apicid_early_ptr;
|
||||
|
||||
/* Internal processor count */
|
||||
unsigned int num_processors;
|
||||
unsigned disabled_cpus __cpuinitdata;
|
||||
|
||||
u8 apicid_2_node[MAX_APICID];
|
||||
#endif
|
||||
|
||||
/* Internal processor count */
|
||||
unsigned int num_processors;
|
||||
|
||||
/* Bitmask of physically existing CPUs */
|
||||
physid_mask_t phys_cpu_present_map;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user