projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
89d21e2
)
powerpc/64s: Add missing declaration for machine_check_early_boot()
author
Michael Ellerman
<mpe@ellerman.id.au>
Fri, 25 Nov 2022 11:34:42 +0000
(22:34 +1100)
committer
Michael Ellerman
<mpe@ellerman.id.au>
Fri, 25 Nov 2022 13:25:32 +0000
(
00:25
+1100)
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>
Link:
https://lore.kernel.org/r/20221125132521.2167039-1-mpe@ellerman.id.au
arch/powerpc/include/asm/interrupt.h
patch
|
blob
|
history
diff --git
a/arch/powerpc/include/asm/interrupt.h
b/arch/powerpc/include/asm/interrupt.h
index 4745bb9998bd7fa902b8c9826132d17317cc44fc..6d8492b6e2b83394e199f19c53341f23a8e08e4d 100644
(file)
--- 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);