[PATCH] x86: make i387 mxcsr_feature_mask __read_mostly
authorAndreas Mohr <andi@rhlx01.fht-esslingen.de>
Fri, 23 Jun 2006 09:04:26 +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/i387.c
arch/x86_64/kernel/i387.c

index d75524758daf770811e029536f6730c8b5c0fa21..c4351972d9afc7b5c4b2e39b5222f8f52b930eba 100644 (file)
@@ -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)
 {
index a5d7e16b928ebc62dc9ba26a9215e30da63b9ad4..44ddb1ec808d29123a32249e3e0588602404d159 100644 (file)
@@ -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)
 {