[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:
parent
cefc01130b
commit
7b0c2d9218
2 changed files with 2 additions and 2 deletions
|
@ -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)
|
||||
{
|
||||
|
|
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue