Files
linux-stable-mirror/arch/powerpc/include/asm
Arnd Bergmann df81cbcd26 arch: consolidate arch_irq_work_raise prototypes
[ Upstream commit 64bac5ea17 ]

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>
2024-02-23 08:54:39 +01:00
..
2021-09-08 15:32:35 -07:00
2021-08-10 23:14:55 +10:00
2021-07-01 11:06:03 -07:00
2021-09-03 22:54:12 +10:00
2021-06-25 00:07:10 +10:00
2021-07-08 11:48:23 -07:00
2021-08-23 19:28:20 +10:00