[PATCH] x86: make i387 mxcsr_feature_mask __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>
This commit is contained in:
Andreas Mohr 2006-06-23 02:04:26 -07:00 committed by Linus Torvalds
parent cefc01130b
commit 7b0c2d9218
2 changed files with 2 additions and 2 deletions

View 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)
{

View 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)
{