x86: move boot_cpu_physical_apicid to apic_64.c
Signed-off-by: Alexey Starikovskiy <astarikovskiy@suse.de> Signed-off-by: Ingo Molnar <mingo@elte.hu>
This commit is contained in:
committed by
Ingo Molnar
parent
3103623eed
commit
86cc0d916a
@@ -87,6 +87,10 @@ static unsigned long apic_phys;
|
|||||||
|
|
||||||
unsigned long mp_lapic_addr;
|
unsigned long mp_lapic_addr;
|
||||||
|
|
||||||
|
/* Processor that is doing the boot up */
|
||||||
|
unsigned int boot_cpu_physical_apicid = -1U;
|
||||||
|
EXPORT_SYMBOL(boot_cpu_physical_apicid);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Get the LAPIC version
|
* Get the LAPIC version
|
||||||
*/
|
*/
|
||||||
|
@@ -56,10 +56,6 @@ int mp_irq_entries;
|
|||||||
|
|
||||||
int nr_ioapics;
|
int nr_ioapics;
|
||||||
|
|
||||||
/* Processor that is doing the boot up */
|
|
||||||
unsigned int boot_cpu_physical_apicid = -1U;
|
|
||||||
EXPORT_SYMBOL(boot_cpu_physical_apicid);
|
|
||||||
|
|
||||||
#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 };
|
||||||
|
Reference in New Issue
Block a user