mirror of
https://github.com/FEX-Emu/linux.git
synced 2024-12-21 08:53:41 +00:00
x86: apic - rearrange maxcpu definition
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
This commit is contained in:
parent
d5e629a6f8
commit
b6c8051311
@ -114,6 +114,8 @@ static DEFINE_PER_CPU(struct clock_event_device, lapic_events);
|
|||||||
static int enabled_via_apicbase;
|
static int enabled_via_apicbase;
|
||||||
|
|
||||||
static unsigned long apic_phys;
|
static unsigned long apic_phys;
|
||||||
|
unsigned int __cpuinitdata maxcpus = NR_CPUS;
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Get the LAPIC version
|
* Get the LAPIC version
|
||||||
@ -1459,8 +1461,6 @@ void disconnect_bsp_APIC(int virt_wire_setup)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
unsigned int __cpuinitdata maxcpus = NR_CPUS;
|
|
||||||
|
|
||||||
void __cpuinit generic_processor_info(int apicid, int version)
|
void __cpuinit generic_processor_info(int apicid, int version)
|
||||||
{
|
{
|
||||||
int cpu;
|
int cpu;
|
||||||
|
@ -98,10 +98,10 @@ static struct clock_event_device lapic_clockevent = {
|
|||||||
static DEFINE_PER_CPU(struct clock_event_device, lapic_events);
|
static DEFINE_PER_CPU(struct clock_event_device, lapic_events);
|
||||||
|
|
||||||
static unsigned long apic_phys;
|
static unsigned long apic_phys;
|
||||||
|
unsigned int __cpuinitdata maxcpus = NR_CPUS;
|
||||||
|
|
||||||
unsigned long mp_lapic_addr;
|
unsigned long mp_lapic_addr;
|
||||||
|
|
||||||
unsigned int __cpuinitdata maxcpus = NR_CPUS;
|
|
||||||
/*
|
/*
|
||||||
* Get the LAPIC version
|
* Get the LAPIC version
|
||||||
*/
|
*/
|
||||||
|
Loading…
Reference in New Issue
Block a user