Răsfoiți Sursa

x86: make mxcsr_feature_mask static again

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>
Adrian Bunk 17 ani în urmă
părinte
comite
148a142495
2 a modificat fișierele cu 1 adăugiri și 2 ștergeri
  1. 1 1
      arch/x86/kernel/i387.c
  2. 0 1
      include/asm-x86/i387.h

+ 1 - 1
arch/x86/kernel/i387.c

@@ -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)
 {

+ 0 - 1
include/asm-x86/i387.h

@@ -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);