On Fri, Aug 30, 2024 at 03:28:41PM -0700, Ankur Arora wrote:
From: Joao Martins <redacted>
Commit 842514849a61 ("arm64: Remove TIF_POLLING_NRFLAG") had removed
TIF_POLLING_NRFLAG because arm64 only supported non-polled idling via
cpu_do_idle().
To add support for polling via cpuidle-haltpoll, we want to use the
standard poll_idle() interface, which sets TIF_POLLING_NRFLAG while
polling.
Reuse the same bit to define TIF_POLLING_NRFLAG.
Signed-off-by: Joao Martins <redacted>
Signed-off-by: Mihai Carabas <redacted>
Reviewed-by: Christoph Lameter <redacted>
Signed-off-by: Ankur Arora <redacted>
---
arch/arm64/include/asm/thread_info.h | 2 ++
1 file changed, 2 insertions(+)
Acked-by: Will Deacon <will@kernel.org>
Will