Messages in this thread | | | Date | Sat, 12 Aug 2023 09:34:34 +0200 | From | "Arnd Bergmann" <> | Subject | Re: [PATCH 02/17] [RESEND] irq_work: consolidate arch_irq_work_raise prototypes |
| |
On Sat, Aug 12, 2023, at 00:10, Masahiro Yamada wrote: > On Fri, Aug 11, 2023 at 10:00 AM Arnd Bergmann <arnd@kernel.org> wrote: >> >> 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
| |