Re: [PATCH v3 2/3] arm64: Prepare to switch to generic entry

From: Kevin Brodsky
Date: Tue Aug 20 2024 - 07:42:43 EST


On 29/06/2024 10:56, Jinjie Ruan wrote:
> -#define on_thread_stack() (on_task_stack(current, current_stack_pointer, 1))
> +static __always_inline bool on_thread_stack(void)
> +{
> + return on_task_stack(current, current_stack_pointer, 1);
> +}

This looks reasonable but I wonder why this change is required (as the
commit message suggests)?

Kevin