diff options
| author | Arnd Bergmann <arnd@arndb.de> | 2023-11-08 13:58:29 +0100 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2024-02-05 20:14:17 +0000 |
| commit | 64e7f102c301d97e83e7a733678f3b4ad39fddfc (patch) | |
| tree | ad9607783efc805ecc0d3e8665a43d4849429a5d /arch/csky | |
| parent | 05a8ba5c1e5922018d54b28d136ade2d21f76db6 (diff) | |
| download | linux-64e7f102c301d97e83e7a733678f3b4ad39fddfc.tar.gz linux-64e7f102c301d97e83e7a733678f3b4ad39fddfc.tar.bz2 linux-64e7f102c301d97e83e7a733678f3b4ad39fddfc.zip | |
arch: consolidate arch_irq_work_raise prototypes
[ Upstream commit 64bac5ea17d527872121adddfee869c7a0618f8f ]
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]
Some architectures have a working prototype, while others don't.
Fix this by providing it in only one place that is always visible.
Reviewed-by: Alexander Gordeev <agordeev@linux.ibm.com>
Acked-by: Catalin Marinas <catalin.marinas@arm.com>
Acked-by: Palmer Dabbelt <palmer@rivosinc.com>
Acked-by: Guo Ren <guoren@kernel.org>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'arch/csky')
| -rw-r--r-- | arch/csky/include/asm/irq_work.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/csky/include/asm/irq_work.h b/arch/csky/include/asm/irq_work.h index 33aaf39d6f94..d39fcc1f5395 100644 --- a/arch/csky/include/asm/irq_work.h +++ b/arch/csky/include/asm/irq_work.h @@ -7,5 +7,5 @@ static inline bool arch_irq_work_has_interrupt(void) { return true; } -extern void arch_irq_work_raise(void); + #endif /* __ASM_CSKY_IRQ_WORK_H */ |
