Thread (3 messages) 3 messages, 3 authors, 2023-08-12

Re: [PATCH 02/17] [RESEND] irq_work: consolidate arch_irq_work_raise prototypes

flat view

From: "Arnd Bergmann" <arnd@arndb.de>
Date: 2023-08-12 07:35:07
Also in: linux-riscv, linux-s390, linuxppc-dev, lkml

On Sat, Aug 12, 2023, at 00:10, Masahiro Yamada wrote:
On Fri, Aug 11, 2023 at 10:00 AM Arnd Bergmann [off-list ref] wrote:
quoted
From: Arnd Bergmann <arnd@arndb.de>

The prototype was hidden on x86, which causes a warning:

What do you mean by "hidden on x86"?

arch_irq_work_raise() was declared on 7 architectures,
including x86.
I meant hidden in some configurations. Specifically, x86
only declares the function when it overrides it for
CONFIG_X86_LOCAL_APIC, while without that option the generic
stub still gets compiled but is never declared.

    Arnd

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help