TIF_POLLING_NRFLAG was removed from arm64 as there were no polling idle states. Add back TIF_POLLING_NRFLAG in preparation for an arm64 cpuidle driver which supports polling. Signed-off-by: Haris Okanovic <harisokn@xxxxxxxxxx> --- arch/arm64/include/asm/thread_info.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm64/include/asm/thread_info.h b/arch/arm64/include/asm/thread_info.h index e72a3bf9e563..ab22c7d1967e 100644 --- a/arch/arm64/include/asm/thread_info.h +++ b/arch/arm64/include/asm/thread_info.h @@ -81,6 +81,7 @@ void arch_setup_new_exec(void); #define TIF_SME 27 /* SME in use */ #define TIF_SME_VL_INHERIT 28 /* Inherit SME vl_onexec across exec */ #define TIF_KERNEL_FPSTATE 29 /* Task is in a kernel mode FPSIMD section */ +#define TIF_POLLING_NRFLAG 30 #define _TIF_SIGPENDING (1 << TIF_SIGPENDING) #define _TIF_NEED_RESCHED (1 << TIF_NEED_RESCHED) @@ -97,6 +98,7 @@ void arch_setup_new_exec(void); #define _TIF_SVE (1 << TIF_SVE) #define _TIF_MTE_ASYNC_FAULT (1 << TIF_MTE_ASYNC_FAULT) #define _TIF_NOTIFY_SIGNAL (1 << TIF_NOTIFY_SIGNAL) +#define _TIF_POLLING_NRFLAG (1 << TIF_POLLING_NRFLAG) #define _TIF_WORK_MASK (_TIF_NEED_RESCHED | _TIF_SIGPENDING | \ _TIF_NOTIFY_RESUME | _TIF_FOREIGN_FPSTATE | \ -- 2.34.1
- Follow-Ups:
- [PATCH 3/3] arm64: cpuidle: Add arm_poll_idle
- From: Haris Okanovic
- [PATCH 2/3] arm64: add __READ_ONCE_EX()
- From: Haris Okanovic
- [PATCH 3/3] arm64: cpuidle: Add arm_poll_idle
- Prev by Date: PSA: this list has been migrated (no action required)
- Next by Date: [PATCH 2/3] arm64: add __READ_ONCE_EX()
- Previous by thread: PSA: this list has been migrated (no action required)
- Next by thread: [PATCH 2/3] arm64: add __READ_ONCE_EX()
- Index(es):