[PATCH 08/22] [v2] arch: consolidate arch_irq_work_raise prototypes

Arnd Bergmann arnd at arndb.de
Wed Jan 10 02:20:10 PST 2024


On Wed, Jan 10, 2024, at 10:03, Geert Uytterhoeven wrote:
> On Wed, Nov 8, 2023 at 2:01 PM Arnd Bergmann <arnd at kernel.org> wrote:
>> From: Arnd Bergmann <arnd at 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.marinas at arm.com>
>> Acked-by: Palmer Dabbelt <palmer at rivosinc.com>
>> Acked-by: Guo Ren <guoren at kernel.org>
>> Reviewed-by: Alexander Gordeev <agordeev at linux.ibm.com>
>> Signed-off-by: Arnd Bergmann <arnd at arndb.de>
>
> Tested-by: Geert Uytterhoeven <geert at linux-m68k.org>

I've sent out the asm-generic pull request now,
that contains the fix. Thanks for the reminder.

      Arnd



More information about the linux-snps-arc mailing list