[PATCH] x86: make using_apic_timer __read_mostly
Signed-off-by: Andreas Mohr <andi@lisas.de> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
parent
21528454f6
commit
acae9d3243
@ -113,7 +113,7 @@ void __init apic_intr_init(void)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* Using APIC to generate smp_local_timer_interrupt? */
|
/* Using APIC to generate smp_local_timer_interrupt? */
|
||||||
int using_apic_timer = 0;
|
int using_apic_timer __read_mostly = 0;
|
||||||
|
|
||||||
static int enabled_via_apicbase;
|
static int enabled_via_apicbase;
|
||||||
|
|
||||||
|
@ -51,7 +51,7 @@ int disable_apic_timer __initdata;
|
|||||||
static cpumask_t timer_interrupt_broadcast_ipi_mask;
|
static cpumask_t timer_interrupt_broadcast_ipi_mask;
|
||||||
|
|
||||||
/* Using APIC to generate smp_local_timer_interrupt? */
|
/* Using APIC to generate smp_local_timer_interrupt? */
|
||||||
int using_apic_timer = 0;
|
int using_apic_timer __read_mostly = 0;
|
||||||
|
|
||||||
static void apic_pm_activate(void);
|
static void apic_pm_activate(void);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user