提交 7b0c2d92 编写于 作者: A Andreas Mohr 提交者: Linus Torvalds

[PATCH] x86: make i387 mxcsr_feature_mask __read_mostly

Signed-off-by: NAndreas Mohr <andi@lisas.de>
Signed-off-by: NAndrew Morton <akpm@osdl.org>
Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
上级 cefc0113
......@@ -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)
{
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册