[PATCH] powerpc/64s: Add missing declaration for machine_check_early_boot()

Nicholas Piggin npiggin at gmail.com
Mon Nov 28 12:20:30 AEDT 2022


On Fri Nov 25, 2022 at 11:25 PM AEST, Michael Ellerman wrote:
> There's no declaration for machine_check_early_boot(), which leads to a
> build failure with W=1. Add one.
>
> Fixes: 2f5182cffa43 ("powerpc/64s: early boot machine check handler")
> Signed-off-by: Michael Ellerman <mpe at ellerman.id.au>

Acked-by: Nicholas Piggin <npiggin at gmail.com>

> ---
>  arch/powerpc/include/asm/interrupt.h | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/arch/powerpc/include/asm/interrupt.h b/arch/powerpc/include/asm/interrupt.h
> index 4745bb9998bd..6d8492b6e2b8 100644
> --- a/arch/powerpc/include/asm/interrupt.h
> +++ b/arch/powerpc/include/asm/interrupt.h
> @@ -602,6 +602,7 @@ ____##func(struct pt_regs *regs)
>  /* kernel/traps.c */
>  DECLARE_INTERRUPT_HANDLER_NMI(system_reset_exception);
>  #ifdef CONFIG_PPC_BOOK3S_64
> +DECLARE_INTERRUPT_HANDLER_RAW(machine_check_early_boot);
>  DECLARE_INTERRUPT_HANDLER_ASYNC(machine_check_exception_async);
>  #endif
>  DECLARE_INTERRUPT_HANDLER_NMI(machine_check_exception);
> -- 
> 2.38.1



More information about the Linuxppc-dev mailing list