ARM: smp: Pass task to secondary_start_kernel
authorKeith Packard <keithpac@amazon.com>
Sat, 18 Sep 2021 08:44:35 +0000 (10:44 +0200)
committerArd Biesheuvel <ardb@kernel.org>
Mon, 27 Sep 2021 14:54:01 +0000 (16:54 +0200)
commit19f29aebd929c31c5cc901f38a9295617b602c38
tree3d021fe74ab2bdc9563291d4daa6f03a252b12ce
parentdfbdcda280eb762bae2184145cc0702932d41798
ARM: smp: Pass task to secondary_start_kernel

This avoids needing to compute the task pointer in this function, which
will no longer be possible once we move thread_info off the stack.

Signed-off-by: Keith Packard <keithpac@amazon.com>
Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Tested-by: Amit Daniel Kachhap <amit.kachhap@arm.com>
arch/arm/include/asm/smp.h
arch/arm/kernel/head-nommu.S
arch/arm/kernel/head.S
arch/arm/kernel/smp.c