Skip to content

Commit

Permalink
x86: make mxcsr_feature_mask static again
Browse files Browse the repository at this point in the history
Signed-off-by: Adrian Bunk <bunk@kernel.org>
Cc: Roland McGrath <roland@redhat.com>
Cc: hpa@zytor.com
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
  • Loading branch information
Adrian Bunk authored and Ingo Molnar committed Feb 19, 2008
1 parent ecaea42 commit 148a142
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion arch/x86/kernel/i387.c
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
#define HAVE_HWFP 1
#endif

unsigned int mxcsr_feature_mask __read_mostly = 0xffffffffu;
static unsigned int mxcsr_feature_mask __read_mostly = 0xffffffffu;

void mxcsr_feature_mask_init(void)
{
Expand Down
1 change: 0 additions & 1 deletion include/asm-x86/i387.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@
#include <asm/uaccess.h>

extern void fpu_init(void);
extern unsigned int mxcsr_feature_mask;
extern void mxcsr_feature_mask_init(void);
extern void init_fpu(struct task_struct *child);
extern asmlinkage void math_state_restore(void);
Expand Down

0 comments on commit 148a142

Please sign in to comment.