]> Gentwo Git Trees - linux/.git/commit
arm64: define TIF_POLLING_NRFLAG
authorJoao Martins <joao.m.martins@oracle.com>
Wed, 25 Sep 2024 23:24:21 +0000 (16:24 -0700)
committerChristoph Lameter <cl@gentwo.org>
Wed, 9 Oct 2024 02:06:43 +0000 (19:06 -0700)
commitb97a17121dc81919d41c6b7fcf966f4e439b800e
treee472c9d7100d0d1b0da25fca41b6455e67e59c07
parentf3795d4baaf2cd15138db07ebcea5b375d1e40fb
arm64: define TIF_POLLING_NRFLAG

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 <joao.m.martins@oracle.com>
Signed-off-by: Mihai Carabas <mihai.carabas@oracle.com>
Reviewed-by: Christoph Lameter <cl@linux.com>
Acked-by: Will Deacon <will@kernel.org>
Signed-off-by: Ankur Arora <ankur.a.arora@oracle.com>
Tested-by: Misono Tomohiro <misono.tomohiro@fujitsu.com>
arch/arm64/include/asm/thread_info.h