#ifndef __X86_KERNEL_FPU_LEGACY_H
#define __X86_KERNEL_FPU_LEGACY_H
#include <asm/fpu/types.h>
extern unsigned int mxcsr_feature_mask;
static inline void ldmxcsr(u32 mxcsr)
{ … }
#define user_insn(insn, output, input...) …
#define kernel_insn_err(insn, output, input...) …
#define kernel_insn(insn, output, input...) …
static inline int fnsave_to_user_sigframe(struct fregs_state __user *fx)
{ … }
static inline int fxsave_to_user_sigframe(struct fxregs_state __user *fx)
{ … }
static inline void fxrstor(struct fxregs_state *fx)
{ … }
static inline int fxrstor_safe(struct fxregs_state *fx)
{ … }
static inline int fxrstor_from_user_sigframe(struct fxregs_state __user *fx)
{ … }
static inline void frstor(struct fregs_state *fx)
{ … }
static inline int frstor_safe(struct fregs_state *fx)
{ … }
static inline int frstor_from_user_sigframe(struct fregs_state __user *fx)
{ … }
static inline void fxsave(struct fxregs_state *fx)
{ … }
#endif