mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2025-01-17 18:56:24 +00:00
[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
@ -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…
x
Reference in New Issue
Block a user