x86: move x86_cpu_to_apicid to setup.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
af926a5830
commit
76eb41319d
@@ -9,6 +9,10 @@
|
|||||||
#include <asm/processor.h>
|
#include <asm/processor.h>
|
||||||
#include <asm/setup.h>
|
#include <asm/setup.h>
|
||||||
#include <asm/topology.h>
|
#include <asm/topology.h>
|
||||||
|
#include <asm/apicdef.h>
|
||||||
|
|
||||||
|
DEFINE_PER_CPU(u16, x86_cpu_to_apicid) = BAD_APICID;
|
||||||
|
EXPORT_PER_CPU_SYMBOL(x86_cpu_to_apicid);
|
||||||
|
|
||||||
#if defined(CONFIG_HAVE_SETUP_PER_CPU_AREA) && defined(CONFIG_SMP)
|
#if defined(CONFIG_HAVE_SETUP_PER_CPU_AREA) && defined(CONFIG_SMP)
|
||||||
/*
|
/*
|
||||||
|
@@ -77,8 +77,6 @@
|
|||||||
u16 x86_cpu_to_apicid_init[NR_CPUS] __initdata =
|
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;
|
||||||
DEFINE_PER_CPU(u16, x86_cpu_to_apicid) = BAD_APICID;
|
|
||||||
EXPORT_PER_CPU_SYMBOL(x86_cpu_to_apicid);
|
|
||||||
|
|
||||||
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