*/
extern void fpu__activate_curr(struct fpu *fpu);
extern void fpu__activate_fpstate_read(struct fpu *fpu);
-extern void fpu__activate_fpstate(struct fpu *fpu);
+extern void fpu__activate_fpstate_write(struct fpu *fpu);
extern void fpu__save(struct fpu *fpu);
extern void fpu__restore(struct fpu *fpu);
extern int fpu__restore_sig(void __user *buf, int ia32_frame);
* the read-only case, it's not strictly necessary for
* read-only access to the context.
*/
-void fpu__activate_fpstate(struct fpu *fpu)
+void fpu__activate_fpstate_write(struct fpu *fpu)
{
/*
* If fpregs are active (in the current CPU), then
if (!cpu_has_fxsr)
return -ENODEV;
- fpu__activate_fpstate(fpu);
+ fpu__activate_fpstate_write(fpu);
fpstate_sanitize_xstate(fpu);
ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf,
if (!cpu_has_xsave)
return -ENODEV;
- fpu__activate_fpstate(fpu);
+ fpu__activate_fpstate_write(fpu);
xsave = &fpu->state.xsave;
struct user_i387_ia32_struct env;
int ret;
- fpu__activate_fpstate(fpu);
+ fpu__activate_fpstate_write(fpu);
fpstate_sanitize_xstate(fpu);
if (!static_cpu_has(X86_FEATURE_FPU))