diff --git a/arch/x86/include/asm/fpu/api.h b/arch/x86/include/asm/fpu/api.h index 4ca745c0d92ec064f4d144445050e048f340b9cf..eeac3766d8e5842e78d1c1211cbf11357c488f6c 100644 --- a/arch/x86/include/asm/fpu/api.h +++ b/arch/x86/include/asm/fpu/api.h @@ -99,6 +99,4 @@ static inline int user_has_fpu(void) return current->thread.fpu.fpregs_active; } -extern void fpu__save(struct fpu *fpu); - #endif /* _ASM_X86_FPU_API_H */ diff --git a/arch/x86/include/asm/fpu/internal.h b/arch/x86/include/asm/fpu/internal.h index 5a1fa5bc2c273326323627d35f373e1d183a255e..0c8c812d23b4edac546456ca414b9be40080f760 100644 --- a/arch/x86/include/asm/fpu/internal.h +++ b/arch/x86/include/asm/fpu/internal.h @@ -290,6 +290,8 @@ static inline int fpu_save_init(struct fpu *fpu) return 1; } +extern void fpu__save(struct fpu *fpu); + static inline int fpu_restore_checking(struct fpu *fpu) { if (use_xsave())