linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] powerpc/64s: Add missing declaration for machine_check_early_boot()
@ 2022-11-25 13:25 Michael Ellerman
  2022-11-28  1:20 ` Nicholas Piggin
  2022-12-08 12:52 ` Michael Ellerman
  0 siblings, 2 replies; 3+ messages in thread
From: Michael Ellerman @ 2022-11-25 13:25 UTC (permalink / raw)
  To: linuxppc-dev

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@ellerman.id.au>
---
 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


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] powerpc/64s: Add missing declaration for machine_check_early_boot()
  2022-11-25 13:25 [PATCH] powerpc/64s: Add missing declaration for machine_check_early_boot() Michael Ellerman
@ 2022-11-28  1:20 ` Nicholas Piggin
  2022-12-08 12:52 ` Michael Ellerman
  1 sibling, 0 replies; 3+ messages in thread
From: Nicholas Piggin @ 2022-11-28  1:20 UTC (permalink / raw)
  To: Michael Ellerman, linuxppc-dev

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@ellerman.id.au>

Acked-by: Nicholas Piggin <npiggin@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


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] powerpc/64s: Add missing declaration for machine_check_early_boot()
  2022-11-25 13:25 [PATCH] powerpc/64s: Add missing declaration for machine_check_early_boot() Michael Ellerman
  2022-11-28  1:20 ` Nicholas Piggin
@ 2022-12-08 12:52 ` Michael Ellerman
  1 sibling, 0 replies; 3+ messages in thread
From: Michael Ellerman @ 2022-12-08 12:52 UTC (permalink / raw)
  To: linuxppc-dev, Michael Ellerman

On Sat, 26 Nov 2022 00:25:21 +1100, Michael Ellerman wrote:
> There's no declaration for machine_check_early_boot(), which leads to a
> build failure with W=1. Add one.
> 
> 

Applied to powerpc/fixes.

[1/1] powerpc/64s: Add missing declaration for machine_check_early_boot()
      https://git.kernel.org/powerpc/c/2e7ec190a0e38aaa8a6d87fd5f804ec07947febc

cheers

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-12-08 13:05 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-11-25 13:25 [PATCH] powerpc/64s: Add missing declaration for machine_check_early_boot() Michael Ellerman
2022-11-28  1:20 ` Nicholas Piggin
2022-12-08 12:52 ` Michael Ellerman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).