acrn-kernel/arch/powerpc
Arnd Bergmann d6c8d8ab76 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>
2024-02-05 20:12:49 +00:00
..
boot
configs
crypto
include arch: consolidate arch_irq_work_raise prototypes 2024-02-05 20:12:49 +00:00
kernel powerpc: Fix build error due to is_valid_bugaddr() 2024-02-05 20:12:46 +00:00
kexec
kvm
lib powerpc/lib: Validate size for vector operations 2024-02-05 20:12:47 +00:00
math-emu
mm powerpc: pmd_move_must_withdraw() is only needed for CONFIG_TRANSPARENT_HUGEPAGE 2024-02-05 20:12:47 +00:00
net
perf powerpc/imc-pmu: Add a null pointer check in update_events_in_group() 2024-01-25 15:27:19 -08:00
platforms powerpc/powernv: Add a null pointer check in opal_powercap_init() 2024-01-25 15:27:19 -08:00
purgatory
sysdev powerpc/xive: Fix endian conversion size 2023-11-20 11:52:12 +01:00
tools
xmon
Kbuild
Kconfig Revert "powerpc/64s: Increase default stack size to 32KB" 2024-01-31 16:17:10 -08:00
Kconfig.debug
Makefile powerpc: remove checks for binutils older than 2.25 2024-01-25 15:27:18 -08:00
Makefile.postlink