mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-02 07:04:24 +00:00
x86: move x86_bios_cpu_apicid_init to smpboot.c
Signed-off-by: Alexey Starikovskiy <astarikovskiy@suse.de> Signed-off-by: Ingo Molnar <mingo@elte.hu>
This commit is contained in:
parent
708650afe9
commit
16ecf7a47c
2 changed files with 1 additions and 7 deletions
|
@ -55,12 +55,6 @@ int mp_irq_entries;
|
||||||
|
|
||||||
int nr_ioapics;
|
int nr_ioapics;
|
||||||
|
|
||||||
#ifdef CONFIG_SMP
|
|
||||||
u16 x86_bios_cpu_apicid_init[NR_CPUS] __initdata
|
|
||||||
= {[0 ... NR_CPUS - 1] = BAD_APICID };
|
|
||||||
void *x86_bios_cpu_apicid_early_ptr;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/* Make it easy to share the UP and SMP code: */
|
/* Make it easy to share the UP and SMP code: */
|
||||||
#ifndef CONFIG_X86_SMP
|
#ifndef CONFIG_X86_SMP
|
||||||
unsigned int num_processors;
|
unsigned int num_processors;
|
||||||
|
|
|
@ -78,11 +78,11 @@ u16 x86_cpu_to_apicid_init[NR_CPUS] __initdata =
|
||||||
{ [0 ... NR_CPUS-1] = BAD_APICID };
|
{ [0 ... NR_CPUS-1] = BAD_APICID };
|
||||||
void *x86_cpu_to_apicid_early_ptr;
|
void *x86_cpu_to_apicid_early_ptr;
|
||||||
|
|
||||||
#ifdef CONFIG_X86_32
|
|
||||||
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 };
|
||||||
void *x86_bios_cpu_apicid_early_ptr;
|
void *x86_bios_cpu_apicid_early_ptr;
|
||||||
|
|
||||||
|
#ifdef CONFIG_X86_32
|
||||||
u8 apicid_2_node[MAX_APICID];
|
u8 apicid_2_node[MAX_APICID];
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue