diff options
author | Andreas Mohr <andi@rhlx01.fht-esslingen.de> | 2006-06-23 05:04:26 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-06-23 10:42:57 -0400 |
commit | 7b0c2d92180dbd9c7cd0c4b9bd38b06bb0f12843 (patch) | |
tree | 5157857da98668f9473ba95993a623f604a2a5ab /arch | |
parent | cefc01130ba2bb0a81abda14b3f00fcc2e70dd43 (diff) |
[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>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/i386/kernel/i387.c | 2 | ||||
-rw-r--r-- | arch/x86_64/kernel/i387.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/arch/i386/kernel/i387.c b/arch/i386/kernel/i387.c index d75524758daf..c4351972d9af 100644 --- a/arch/i386/kernel/i387.c +++ b/arch/i386/kernel/i387.c | |||
@@ -25,7 +25,7 @@ | |||
25 | #define HAVE_HWFP 1 | 25 | #define HAVE_HWFP 1 |
26 | #endif | 26 | #endif |
27 | 27 | ||
28 | static unsigned long mxcsr_feature_mask = 0xffffffff; | 28 | static unsigned long mxcsr_feature_mask __read_mostly = 0xffffffff; |
29 | 29 | ||
30 | void mxcsr_feature_mask_init(void) | 30 | void mxcsr_feature_mask_init(void) |
31 | { | 31 | { |
diff --git a/arch/x86_64/kernel/i387.c b/arch/x86_64/kernel/i387.c index a5d7e16b928e..44ddb1ec808d 100644 --- a/arch/x86_64/kernel/i387.c +++ b/arch/x86_64/kernel/i387.c | |||
@@ -24,7 +24,7 @@ | |||
24 | #include <asm/ptrace.h> | 24 | #include <asm/ptrace.h> |
25 | #include <asm/uaccess.h> | 25 | #include <asm/uaccess.h> |
26 | 26 | ||
27 | unsigned int mxcsr_feature_mask = 0xffffffff; | 27 | unsigned int mxcsr_feature_mask __read_mostly = 0xffffffff; |
28 | 28 | ||
29 | void mxcsr_feature_mask_init(void) | 29 | void mxcsr_feature_mask_init(void) |
30 | { | 30 | { |