diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2022-05-12 15:04:08 +0300 |
---|---|---|
committer | Borislav Petkov <bp@suse.de> | 2022-05-13 13:56:28 +0300 |
commit | f5c0b4f30416c670408a77be94703d04d22b57df (patch) | |
tree | 9a6a24170f4fecb7180eae228d55ddd6f619bf3e /arch/x86/include/asm/fpu | |
parent | 1ff2fb982c52ed6c3478adc944441d6ea065d8fb (diff) | |
download | linux-f5c0b4f30416c670408a77be94703d04d22b57df.tar.xz |
x86/prctl: Remove pointless task argument
The functions invoked via do_arch_prctl_common() can only operate on
the current task and none of these function uses the task argument.
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Borislav Petkov <bp@suse.de>
Link: https://lore.kernel.org/r/87lev7vtxj.ffs@tglx
Diffstat (limited to 'arch/x86/include/asm/fpu')
-rw-r--r-- | arch/x86/include/asm/fpu/api.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/x86/include/asm/fpu/api.h b/arch/x86/include/asm/fpu/api.h index c83b3020350a..6b0f31fb53f7 100644 --- a/arch/x86/include/asm/fpu/api.h +++ b/arch/x86/include/asm/fpu/api.h @@ -162,7 +162,6 @@ static inline bool fpstate_is_confidential(struct fpu_guest *gfpu) } /* prctl */ -struct task_struct; -extern long fpu_xstate_prctl(struct task_struct *tsk, int option, unsigned long arg2); +extern long fpu_xstate_prctl(int option, unsigned long arg2); #endif /* _ASM_X86_FPU_API_H */ |