Skip to content

Commit

Permalink
[PATCH] x86: make i387 mxcsr_feature_mask __read_mostly
Browse files Browse the repository at this point in the history
Signed-off-by: Andreas Mohr <andi@lisas.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
  • Loading branch information
Andreas Mohr authored and Linus Torvalds committed Jun 23, 2006
1 parent cefc011 commit 7b0c2d9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion arch/i386/kernel/i387.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand Down
2 changes: 1 addition & 1 deletion arch/x86_64/kernel/i387.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand Down

0 comments on commit 7b0c2d9

Please sign in to comment.