mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-08-05 16:54:27 +00:00
x86/fpu: Move MXCSR_DEFAULT to fpu/internal.h
fpu/types.h gets included everywhere, move the MXCSR_DEFAULT to fpu/internal.h, the place where it's used. Reviewed-by: Borislav Petkov <bp@alien8.de> Cc: Andy Lutomirski <luto@amacapital.net> Cc: Dave Hansen <dave.hansen@linux.intel.com> Cc: Fenghua Yu <fenghua.yu@intel.com> Cc: H. Peter Anvin <hpa@zytor.com> Cc: Linus Torvalds <torvalds@linux-foundation.org> Cc: Oleg Nesterov <oleg@redhat.com> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: Ingo Molnar <mingo@kernel.org>
This commit is contained in:
parent
78f7f1e54b
commit
df6397525c
2 changed files with 2 additions and 2 deletions
|
@ -33,6 +33,8 @@ int ia32_setup_frame(int sig, struct ksignal *ksig,
|
||||||
# define ia32_setup_rt_frame __setup_rt_frame
|
# define ia32_setup_rt_frame __setup_rt_frame
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#define MXCSR_DEFAULT 0x1f80
|
||||||
|
|
||||||
extern unsigned int mxcsr_feature_mask;
|
extern unsigned int mxcsr_feature_mask;
|
||||||
extern void fpu__cpu_init(void);
|
extern void fpu__cpu_init(void);
|
||||||
extern void eager_fpu_init(void);
|
extern void eager_fpu_init(void);
|
||||||
|
|
|
@ -4,8 +4,6 @@
|
||||||
#ifndef _ASM_X86_FPU_H
|
#ifndef _ASM_X86_FPU_H
|
||||||
#define _ASM_X86_FPU_H
|
#define _ASM_X86_FPU_H
|
||||||
|
|
||||||
#define MXCSR_DEFAULT 0x1f80
|
|
||||||
|
|
||||||
struct i387_fsave_struct {
|
struct i387_fsave_struct {
|
||||||
u32 cwd; /* FPU Control Word */
|
u32 cwd; /* FPU Control Word */
|
||||||
u32 swd; /* FPU Status Word */
|
u32 swd; /* FPU Status Word */
|
||||||
|
|
Loading…
Add table
Reference in a new issue