Messages in this thread Patch in this message | | | Date | Tue, 23 May 2006 19:51:59 +0200 | From | Andreas Mohr <> | Subject | [PATCH] -mm: make using_apic_timer __read_mostly |
| |
Hello all,
i386 run-tested on 2.6.17-rc4-mm3 (no x86_64 testing possible here).
this might collide with recent i386/x86_64 reunification efforts, though...
Signed-off-by: Andreas Mohr <andi@lisas.de>
diff -urN linux-2.6.17-rc4-mm3.orig/arch/i386/kernel/apic.c linux-2.6.17-rc4-mm3.my/arch/i386/kernel/apic.c --- linux-2.6.17-rc4-mm3.orig/arch/i386/kernel/apic.c 2006-05-23 19:14:13.000000000 +0200 +++ linux-2.6.17-rc4-mm3/arch/i386/kernel/apic.c 2006-05-22 15:47:03.000000000 +0200 @@ -114,7 +114,7 @@ } /* 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; diff -urN linux-2.6.17-rc4-mm3.orig/arch/x86_64/kernel/apic.c linux-2.6.17-rc4-mm3.my/arch/x86_64/kernel/apic.c --- linux-2.6.17-rc4-mm3.orig/arch/x86_64/kernel/apic.c 2006-05-23 19:14:13.000000000 +0200 +++ linux-2.6.17-rc4-mm3/arch/x86_64/kernel/apic.c 2006-05-23 19:45:01.000000000 +0200 @@ -51,7 +51,7 @@ 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); - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |