Commit acae9d32 authored by Andreas Mohr's avatar Andreas Mohr Committed by Linus Torvalds

[PATCH] x86: make using_apic_timer __read_mostly

Signed-off-by: default avatarAndreas Mohr <andi@lisas.de>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 21528454
...@@ -113,7 +113,7 @@ void __init apic_intr_init(void) ...@@ -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; ...@@ -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);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment