]> err.no Git - linux-2.6/commitdiff
[PATCH] x86: make using_apic_timer __read_mostly
authorAndreas Mohr <andi@rhlx01.fht-esslingen.de>
Fri, 23 Jun 2006 09:04:25 +0000 (02:04 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Fri, 23 Jun 2006 14:42:57 +0000 (07:42 -0700)
Signed-off-by: Andreas Mohr <andi@lisas.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/i386/kernel/apic.c
arch/x86_64/kernel/apic.c

index 261796ff83c3ea374963b96692ab77298f744c65..5ab59c12335bef0fbab075e307184ee00c58f443 100644 (file)
@@ -113,7 +113,7 @@ void __init apic_intr_init(void)
 }
 
 /* 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;
 
index 100a30c4004491137f2f5da6450cca15d766da4a..29ef99001e0598d8ae184e8fd4b9806036ea1f79 100644 (file)
@@ -51,7 +51,7 @@ int disable_apic_timer __initdata;
 static cpumask_t timer_interrupt_broadcast_ipi_mask;
 
 /* 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);