linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] -mm: make i387 mxcsr_feature_mask __read_mostly
@ 2006-05-23 18:17 Andreas Mohr
  0 siblings, 0 replies; only message in thread
From: Andreas Mohr @ 2006-05-23 18:17 UTC (permalink / raw)
  To: Andrew Morton; +Cc: linux-kernel, Gareth Hughes

To: Andrew Morton <akpm@osdl.org>
Cc: linux-kernel@vger.kernel.org, Ingo Molnar <mingo@redhat.com>
Subject: [PATCH] -mm: make using_apic_timer __read_mostly
User-Agent: Mutt/1.4.2.1i
X-Priority: none

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/i387.c linux-2.6.17-rc4-mm3.my/arch/i386/kernel/i387.c
--- linux-2.6.17-rc4-mm3.orig/arch/i386/kernel/i387.c	2006-05-23 17:48:39.000000000 +0200
+++ linux-2.6.17-rc4-mm3/arch/i386/kernel/i387.c	2006-05-17 12:45:18.000000000 +0200
@@ -25,7 +25,7 @@
 #define HAVE_HWFP 1
 #endif
 
-static unsigned long mxcsr_feature_mask = 0xffffffff;
+static unsigned long mxcsr_feature_mask __read_mostly = 0xffffffff;
 
 void mxcsr_feature_mask_init(void)
 {
diff -urN linux-2.6.17-rc4-mm3.orig/arch/x86_64/kernel/i387.c linux-2.6.17-rc4-mm3.my/arch/x86_64/kernel/i387.c
--- linux-2.6.17-rc4-mm3.orig/arch/x86_64/kernel/i387.c	2006-05-23 17:50:02.000000000 +0200
+++ linux-2.6.17-rc4-mm3/arch/x86_64/kernel/i387.c	2006-05-23 20:11:41.000000000 +0200
@@ -24,7 +24,7 @@
 #include <asm/ptrace.h>
 #include <asm/uaccess.h>
 
-unsigned int mxcsr_feature_mask = 0xffffffff;
+unsigned int mxcsr_feature_mask __read_mostly = 0xffffffff;
 
 void mxcsr_feature_mask_init(void)
 {

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2006-05-23 18:17 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-05-23 18:17 [PATCH] -mm: make i387 mxcsr_feature_mask __read_mostly Andreas Mohr

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).