Remove reference of TIF_USEDFPU on arch not using it
Subsystems (2)
cover Remove reference of TIF_USEDFPU on arch not using it
Hi all,
This small patch series remove reference of TIF_USEDFPU on nds32, arm and arm64 as the flag is not inuse.
Cheers,
Julien Grall (3):
nds32: Removed unused thread flag TIF_USEDFPU
arm: Remove documentation about TIF_USEDFPU
arm64: Remove documentation about TIF_USEDFPU
arch/arm/include/asm/thread_info.h | 1 - arch/arm64/include/asm/thread_info.h | 1 - arch/nds32/include/asm/thread_info.h | 2 -- 3 files changed, 4 deletions(-)
Signature · 1 line
2.11.0
PATCH 1/3 nds32: Removed unused thread flag TIF_USEDFPU
The bit TIF_USEDFPU is not used in the nds32 code.
---
Untested as I don't have a cross-compiler for it.
--- arch/nds32/include/asm/thread_info.h | 2 -- 1 file changed, 2 deletions(-)
arch/nds32/include/asm/thread_info.h +0 -2
@@ -42,7 +42,6 @@ struct thread_info {* TIF_SIGPENDING - signal pending * TIF_NEED_RESCHED - rescheduling necessary * TIF_NOTIFY_RESUME - callback before returning to user -* TIF_USEDFPU - FPU was used by this task this quantum (SMP) * TIF_POLLING_NRFLAG - true if poll_idle() is polling TIF_NEED_RESCHED */ #define TIF_SIGPENDING 1
@@ -50,7 +49,6 @@ struct thread_info {#define TIF_SINGLESTEP 3#define TIF_NOTIFY_RESUME 4/* callback before returning to user */ #define TIF_SYSCALL_TRACE 8 -#define TIF_USEDFPU 16#define TIF_POLLING_NRFLAG 17#define TIF_MEMDIE 18#define TIF_FREEZE 19
Signature · 1 line
2.11.0
PATCH 2/3 arm: Remove documentation about TIF_USEDFPU
In reply to Julien GrallTIF_USEDFPU is not defined as thread flags for Arm. So drop it from the documentation.
--- arch/arm/include/asm/thread_info.h | 1 - 1 file changed, 1 deletion(-)
arch/arm/include/asm/thread_info.h +0 -1
@@ -132,7 +132,6 @@ extern int vfp_restore_user_hwstate(struct user_vfp *,/* * thread information flags: -* TIF_USEDFPU - FPU was used by this task this quantum (SMP) * TIF_POLLING_NRFLAG - true if poll_idle() is polling TIF_NEED_RESCHED */ #define TIF_SIGPENDING 0/* signal pending */
Signature · 1 line
2.11.0
PATCH 3/3 arm64: Remove documentation about TIF_USEDFPU
In reply to Julien GrallTIF_USEDFPU is not defined as thread flags for Arm64. So drop it from the documentation.
--- arch/arm64/include/asm/thread_info.h | 1 - 1 file changed, 1 deletion(-)
arch/arm64/include/asm/thread_info.h +0 -1
@@ -79,7 +79,6 @@ void arch_release_task_struct(struct task_struct *tsk);* TIF_SIGPENDING - signal pending * TIF_NEED_RESCHED - rescheduling necessary * TIF_NOTIFY_RESUME - callback before returning to user -* TIF_USEDFPU - FPU was used by this task this quantum (SMP) */ #define TIF_SIGPENDING 0#define TIF_NEED_RESCHED 1
Signature · 1 line
2.11.0
Re: [PATCH 3/3] arm64: Remove documentation about TIF_USEDFPU
Quoted 16 lines · Julien Grall
TIF_USEDFPUis not defined as thread flags for Arm64. So drop it from the documentation.Signed-off-by Julien Grall <[email protected]>Cc Catalin Marinas <[email protected]>Cc Will Deacon <[email protected]>--- arch/arm64/include/asm/thread_info.h | 1 - 1 file changed, 1 deletion(-)arch/arm64/include/asm/thread_info.h +0
-0
arch/arm64/include/asm/thread_info.h void arch_release_task_struct(struct task_struct *tsk); · line 84
Quoted 7 lines
arch/arm64/include/asm/thread_info.h +0
-1@@ -79,7 +79,6 @@ void arch_release_task_struct(struct task_struct *tsk);* TIF_SIGPENDING - signal pending * TIF_NEED_RESCHED - rescheduling necessary * TIF_NOTIFY_RESUME - callback before returning to user -* TIF_USEDFPU - FPU was used by this task this quantum (SMP) */ #define TIF_SIGPENDING 0#define TIF_NEED_RESCHED 1
Will
Re: [PATCH 3/3] arm64: Remove documentation about TIF_USEDFPU
In reply to Julien GrallQuoted 7 lines · Julien Grall
TIF_USEDFPUis not defined as thread flags for Arm64. So drop it from the documentation.Signed-off-by Julien Grall <[email protected]>Cc Catalin Marinas <[email protected]>Cc Will Deacon <[email protected]>
Queued for 5.1. Thanks.
Signature · 1 line
Catalin