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/process.c | |
parent | 371071131cd1032c1e9172c51234a2a324841cab (diff) |
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/process.c')
-rw-r--r-- | arch/x86/kernel/process.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kernel/process.c b/arch/x86/kernel/process.c index af3db530983b..19d05d39a81d 100644 --- a/arch/x86/kernel/process.c +++ b/arch/x86/kernel/process.c @@ -205,7 +205,7 @@ void flush_thread(void) flush_ptrace_hw_breakpoint(tsk); memset(tsk->thread.tls_array, 0, sizeof(tsk->thread.tls_array)); - fpu__clear_all(&tsk->thread.fpu); + fpu_flush_thread(); } void disable_TSC(void) |