[PATCH v4 2/5] ARM: smp: Pass task to secondary_start_kernel

Linus Walleij linus.walleij at linaro.org
Mon Sep 13 16:25:42 PDT 2021


On Mon, Sep 13, 2021 at 12:40 PM Ard Biesheuvel <ardb at kernel.org> wrote:

> From: Keith Packard <keithpac at amazon.com>
>
> 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 at amazon.com>
> Signed-off-by: Ard Biesheuvel <ardb at kernel.org>

Looks good and also easier to understand for me.
Reviewed-by: Linus Walleij <linus.walleij at linaro.org>

Yours,
Linus Walleij



More information about the linux-arm-kernel mailing list