[PATCH] riscv: Always inline on_thread_stack()

Karl Mehltretter kmehltretter at gmail.com
Sat Nov 28 00:43:39 PST 2026


On Mon, Oct 12, 2026 at 10:42:11PM +0100, Karl Mehltretter wrote:
> Mark the helper __always_inline to keep it in noinstr do_irq(), following
> commit 1894a4030582 ("x86: Always inline on_thread_stack() and
> current_top_of_stack()"), which fixed the same out-of-line call from x86
> noinstr code.
> 
> Fixes: 163e76cc6ef4 ("riscv: stack: Support HAVE_IRQ_EXIT_ON_IRQ_STACK")
> Cc: stable at vger.kernel.org
> Assisted-by: LLM
> Signed-off-by: Karl Mehltretter <kmehltretter at gmail.com>

Friendly ping on this patch. It has been reviewed by Jisheng Zhang.

Thanks,
Karl



More information about the linux-riscv mailing list