s390/fpu: Remove comment about TIF_FPU
authorThomas Huth <thuth@redhat.com>
Fri, 3 May 2024 08:06:48 +0000 (10:06 +0200)
committerAlexander Gordeev <agordeev@linux.ibm.com>
Tue, 14 May 2024 11:37:08 +0000 (13:37 +0200)
It has been removed in commit 2c6b96762fbd ("s390/fpu: remove TIF_FPU"),
so we should not mention TIF_FPU in the comment here anymore. Since the
remaining parts of the comment just document the obvious fact that
save_user_fpu_regs() saves the FPU state, simply remove the comment now
completely.

Signed-off-by: Thomas Huth <thuth@redhat.com>
Acked-by: Heiko Carstens <hca@linux.ibm.com>
Link: https://lore.kernel.org/r/20240503080648.81461-1-thuth@redhat.com
Signed-off-by: Alexander Gordeev <agordeev@linux.ibm.com>
arch/s390/kernel/process.c

index dd456b4758611ce178236b0680f56d1fc7e78294..d8740631df4bc5a1ff133c6322634c6fb810b99b 100644 (file)
@@ -86,11 +86,6 @@ void arch_release_task_struct(struct task_struct *tsk)
 
 int arch_dup_task_struct(struct task_struct *dst, struct task_struct *src)
 {
-       /*
-        * Save the floating-point or vector register state of the current
-        * task and set the TIF_FPU flag to lazy restore the FPU register
-        * state when returning to user space.
-        */
        save_user_fpu_regs();
 
        *dst = *src;