Commit 7b0c2d92 authored by Andreas Mohr's avatar Andreas Mohr Committed by Linus Torvalds

[PATCH] x86: make i387 mxcsr_feature_mask __read_mostly

Signed-off-by: default avatarAndreas Mohr <andi@lisas.de>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent cefc0113
...@@ -25,7 +25,7 @@ ...@@ -25,7 +25,7 @@
#define HAVE_HWFP 1 #define HAVE_HWFP 1
#endif #endif
static unsigned long mxcsr_feature_mask = 0xffffffff; static unsigned long mxcsr_feature_mask __read_mostly = 0xffffffff;
void mxcsr_feature_mask_init(void) void mxcsr_feature_mask_init(void)
{ {
......
...@@ -24,7 +24,7 @@ ...@@ -24,7 +24,7 @@
#include <asm/ptrace.h> #include <asm/ptrace.h>
#include <asm/uaccess.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) void mxcsr_feature_mask_init(void)
{ {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment