diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2021-10-15 03:15:54 +0200 |
---|---|---|
committer | Borislav Petkov <bp@suse.de> | 2021-10-20 15:27:25 +0200 |
commit | 9568bfb4f04bd9a280c592879ccd7a26a77c1390 (patch) | |
tree | a4b0669a8f1f67d96764a54d4512cb1a85af12ad /arch/x86/include/asm/fpu/internal.h | |
parent | Merge branch 'x86/urgent' into x86/fpu, to resolve a conflict (diff) | |
download | linux-dev-9568bfb4f04bd9a280c592879ccd7a26a77c1390.tar.xz linux-dev-9568bfb4f04bd9a280c592879ccd7a26a77c1390.zip |
x86/fpu: Remove pointless argument from switch_fpu_finish()
Unused since the FPU switching rework.
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Borislav Petkov <bp@suse.de>
Link: https://lkml.kernel.org/r/20211015011538.433135710@linutronix.de
Diffstat (limited to 'arch/x86/include/asm/fpu/internal.h')
-rw-r--r-- | arch/x86/include/asm/fpu/internal.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/include/asm/fpu/internal.h b/arch/x86/include/asm/fpu/internal.h index 89960e479f87..1503750534f7 100644 --- a/arch/x86/include/asm/fpu/internal.h +++ b/arch/x86/include/asm/fpu/internal.h @@ -521,7 +521,7 @@ static inline void switch_fpu_prepare(struct fpu *old_fpu, int cpu) * Delay loading of the complete FPU state until the return to userland. * PKRU is handled separately. */ -static inline void switch_fpu_finish(struct fpu *new_fpu) +static inline void switch_fpu_finish(void) { if (cpu_feature_enabled(X86_FEATURE_FPU)) set_thread_flag(TIF_NEED_FPU_LOAD); |