diff options
author | Ben Dooks <ben-linux@fluff.org> | 2022-07-25 01:39:20 +0300 |
---|---|---|
committer | Russell King (Oracle) <rmk+kernel@armlinux.org.uk> | 2022-07-28 17:09:15 +0300 |
commit | b97abb4d0e23766650619a6a57a52c91deb89b8a (patch) | |
tree | 4a4a5cce248cc9116ed02b2baf435b802e50f052 /arch/arm/include/asm/irq_work.h | |
parent | 8fa7ea40bf56945c3ff5af00c0dca1fd9e26f129 (diff) | |
download | linux-b97abb4d0e23766650619a6a57a52c91deb89b8a.tar.xz |
ARM: 9217/1: add definition of arch_irq_work_raise()
The arm <asm/irq_work.h> does not define arch_irq_work_raise()
so is triggering the following sparse warning. Add a definiton
to fix this:
kernel/irq_work.c:70:13: warning: symbol 'arch_irq_work_raise' was not declared. Should it be static?
arch/arm/kernel/smp.c:582:6: warning: symbol 'arch_irq_work_raise' was not declared. Should it be static?
Signed-off-by: Ben Dooks <ben-linux@fluff.org>
Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
Diffstat (limited to 'arch/arm/include/asm/irq_work.h')
-rw-r--r-- | arch/arm/include/asm/irq_work.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/include/asm/irq_work.h b/arch/arm/include/asm/irq_work.h index 8895999834cc..3149e4dc1b54 100644 --- a/arch/arm/include/asm/irq_work.h +++ b/arch/arm/include/asm/irq_work.h @@ -9,4 +9,6 @@ static inline bool arch_irq_work_has_interrupt(void) return is_smp(); } +extern void arch_irq_work_raise(void); + #endif /* _ASM_ARM_IRQ_WORK_H */ |