On Wed, Nov 8, 2023 at 2:01 PM Arnd Bergmann <a...@kernel.org> wrote:
> From: Arnd Bergmann <a...@arndb.de>
> The prototype was hidden in an #ifdef on x86, which causes a warning:
> kernel/irq_work.c:72:13: error: no previous prototype for 
> 'arch_irq_work_raise' [-Werror=missing-prototypes]

This issue is now present upstream.

> Some architectures have a working prototype, while others don't.
> Fix this by providing it in only one place that is always visible.
> Acked-by: Catalin Marinas <catalin.mari...@arm.com>
> Acked-by: Palmer Dabbelt <pal...@rivosinc.com>
> Acked-by: Guo Ren <guo...@kernel.org>
> Reviewed-by: Alexander Gordeev <agord...@linux.ibm.com>
> Signed-off-by: Arnd Bergmann <a...@arndb.de>

Tested-by: Geert Uytterhoeven <ge...@linux-m68k.org>



Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- ge...@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
                                -- Linus Torvalds

linux-snps-arc mailing list

Reply via email to