aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/include/asm/fpu/internal.h
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2021-06-23 14:02:12 +0200
committerBorislav Petkov <bp@suse.de>2021-06-23 19:20:10 +0200
commite7ecad17c84d0f6bef635c20d02bbe4096eea700 (patch)
tree6d78b10f3de540b6c209a51e2fd3a9fb1069b18c /arch/x86/include/asm/fpu/internal.h
parentx86/fpu: Use pkru_write_default() in copy_init_fpstate_to_fpregs() (diff)
downloadlinux-dev-e7ecad17c84d0f6bef635c20d02bbe4096eea700.tar.xz
linux-dev-e7ecad17c84d0f6bef635c20d02bbe4096eea700.zip
x86/fpu: Rename fpu__clear_all() to fpu_flush_thread()
Make it clear what the function is about. Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: Borislav Petkov <bp@suse.de> Reviewed-by: Borislav Petkov <bp@suse.de> Link: https://lkml.kernel.org/r/20210623121455.827979263@linutronix.de
Diffstat (limited to 'arch/x86/include/asm/fpu/internal.h')
-rw-r--r--arch/x86/include/asm/fpu/internal.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/x86/include/asm/fpu/internal.h b/arch/x86/include/asm/fpu/internal.h
index f5da2e9b87da..dabbb700c0eb 100644
--- a/arch/x86/include/asm/fpu/internal.h
+++ b/arch/x86/include/asm/fpu/internal.h
@@ -29,12 +29,13 @@
extern int fpu__restore_sig(void __user *buf, int ia32_frame);
extern void fpu__drop(struct fpu *fpu);
extern void fpu__clear_user_states(struct fpu *fpu);
-extern void fpu__clear_all(struct fpu *fpu);
extern int fpu__exception_code(struct fpu *fpu, int trap_nr);
extern void fpu_sync_fpstate(struct fpu *fpu);
+/* Clone and exit operations */
extern int fpu_clone(struct task_struct *dst);
+extern void fpu_flush_thread(void);
/*
* Boot time FPU initialization functions: