Skip to content

Commit 2e7ec19

Browse files
committed
powerpc/64s: Add missing declaration for machine_check_early_boot()
There's no declaration for machine_check_early_boot(), which leads to a build failure with W=1. Add one. Fixes: 2f5182c ("powerpc/64s: early boot machine check handler") Signed-off-by: Michael Ellerman <[email protected]> Link: https://lore.kernel.org/r/[email protected]
1 parent 89d21e2 commit 2e7ec19

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

arch/powerpc/include/asm/interrupt.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -602,6 +602,7 @@ ____##func(struct pt_regs *regs)
602602
/* kernel/traps.c */
603603
DECLARE_INTERRUPT_HANDLER_NMI(system_reset_exception);
604604
#ifdef CONFIG_PPC_BOOK3S_64
605+
DECLARE_INTERRUPT_HANDLER_RAW(machine_check_early_boot);
605606
DECLARE_INTERRUPT_HANDLER_ASYNC(machine_check_exception_async);
606607
#endif
607608
DECLARE_INTERRUPT_HANDLER_NMI(machine_check_exception);

0 commit comments

Comments
 (0)