提交 acae9d32 编写于 作者: A Andreas Mohr 提交者: Linus Torvalds

[PATCH] x86: make using_apic_timer __read_mostly

Signed-off-by: NAndreas Mohr <andi@lisas.de>
Signed-off-by: NAndrew Morton <akpm@osdl.org>
Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册