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

Arnd Bergmann arnd at arndb.de
Sat Aug 12 00:34:34 PDT 2023


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



More information about the linux-riscv mailing list