diff options
| author | Andreas Mohr <andi@rhlx01.fht-esslingen.de> | 2006-06-23 05:04:25 -0400 |
|---|---|---|
| committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-06-23 10:42:57 -0400 |
| commit | acae9d32436122959667470b84da517d7b1b9c2d (patch) | |
| tree | 4d933c5d4394184240d4cd89f2f5397a4277c21e | |
| parent | 21528454f6dd18231ae20102f98aa8f51b6ec1b9 (diff) | |
[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>
| -rw-r--r-- | arch/i386/kernel/apic.c | 2 | ||||
| -rw-r--r-- | arch/x86_64/kernel/apic.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/arch/i386/kernel/apic.c b/arch/i386/kernel/apic.c index 261796ff83c3..5ab59c12335b 100644 --- a/arch/i386/kernel/apic.c +++ b/arch/i386/kernel/apic.c | |||
| @@ -113,7 +113,7 @@ void __init apic_intr_init(void) | |||
| 113 | } | 113 | } |
| 114 | 114 | ||
| 115 | /* Using APIC to generate smp_local_timer_interrupt? */ | 115 | /* Using APIC to generate smp_local_timer_interrupt? */ |
| 116 | int using_apic_timer = 0; | 116 | int using_apic_timer __read_mostly = 0; |
| 117 | 117 | ||
| 118 | static int enabled_via_apicbase; | 118 | static int enabled_via_apicbase; |
| 119 | 119 | ||
diff --git a/arch/x86_64/kernel/apic.c b/arch/x86_64/kernel/apic.c index 100a30c40044..29ef99001e05 100644 --- a/arch/x86_64/kernel/apic.c +++ b/arch/x86_64/kernel/apic.c | |||
| @@ -51,7 +51,7 @@ int disable_apic_timer __initdata; | |||
| 51 | static cpumask_t timer_interrupt_broadcast_ipi_mask; | 51 | static cpumask_t timer_interrupt_broadcast_ipi_mask; |
| 52 | 52 | ||
| 53 | /* Using APIC to generate smp_local_timer_interrupt? */ | 53 | /* Using APIC to generate smp_local_timer_interrupt? */ |
| 54 | int using_apic_timer = 0; | 54 | int using_apic_timer __read_mostly = 0; |
| 55 | 55 | ||
| 56 | static void apic_pm_activate(void); | 56 | static void apic_pm_activate(void); |
| 57 | 57 | ||
