On Sat, Aug 12, 2023, at 00:10, Masahiro Yamada wrote: > On Fri, Aug 11, 2023 at 10:00 AM Arnd Bergmann <a...@kernel.org> wrote: >> >> From: Arnd Bergmann <a...@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