diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2021-06-23 14:02:12 +0200 |
---|---|---|
committer | Borislav Petkov <bp@suse.de> | 2021-06-23 19:20:10 +0200 |
commit | e7ecad17c84d0f6bef635c20d02bbe4096eea700 (patch) | |
tree | 6d78b10f3de540b6c209a51e2fd3a9fb1069b18c /arch/x86/kernel/fpu | |
parent | x86/fpu: Use pkru_write_default() in copy_init_fpstate_to_fpregs() (diff) | |
download | linux-e7ecad17c84d0f6bef635c20d02bbe4096eea700.tar.xz linux-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/kernel/fpu')
-rw-r--r-- | arch/x86/kernel/fpu/core.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/x86/kernel/fpu/core.c b/arch/x86/kernel/fpu/core.c index fedadcb04ba2..4b69be9bea55 100644 --- a/arch/x86/kernel/fpu/core.c +++ b/arch/x86/kernel/fpu/core.c @@ -350,9 +350,9 @@ void fpu__clear_user_states(struct fpu *fpu) fpu__clear(fpu, true); } -void fpu__clear_all(struct fpu *fpu) +void fpu_flush_thread(void) { - fpu__clear(fpu, false); + fpu__clear(¤t->thread.fpu, false); } /* |