ARM: 9158/1: leave it to core code to manage thread_info::cpu
authorArd Biesheuvel <ardb@kernel.org>
Mon, 15 Nov 2021 07:57:12 +0000 (08:57 +0100)
committerRussell King (Oracle) <rmk+kernel@armlinux.org.uk>
Fri, 17 Dec 2021 11:34:31 +0000 (11:34 +0000)
commit4a2f57ac7dada84224d71fe895580990b9062d68
tree14f191ad9e2dc20607a4606b2f4789e0946c69f5
parent251cc826be7dec61e574b291b371362c10dd84ea
ARM: 9158/1: leave it to core code to manage thread_info::cpu

Since commit bcf9033e5449 ("sched: move CPU field back into thread_info
if THREAD_INFO_IN_TASK=y"), the CPU field in thread_info went back to
being managed by the core code, so we no longer have to keep it in sync
in arch code.

While at it, mark THREAD_INFO_IN_TASK as done for ARM in the
documentation.

Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
Documentation/features/core/thread-info-in-task/arch-support.txt
arch/arm/include/asm/switch_to.h
arch/arm/kernel/smp.c