From 701fb46cc0830607287f8aa901f9de9ee68c0f62 Mon Sep 17 00:00:00 2001 From: Sascha Hauer Date: Tue, 15 Sep 2020 09:00:50 +0200 Subject: powerpc: Add function prototypes for exception handlers The exception handlers lead to -Wmissing-prototypes warnings. Add prototypes for them to avoid these warnings. Signed-off-by: Sascha Hauer --- arch/powerpc/include/asm/processor.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'arch') diff --git a/arch/powerpc/include/asm/processor.h b/arch/powerpc/include/asm/processor.h index 39a89a9d15..f4677d11e1 100644 --- a/arch/powerpc/include/asm/processor.h +++ b/arch/powerpc/include/asm/processor.h @@ -1109,6 +1109,14 @@ void ll_puts(const char *); /* In misc.c */ void _nmask_and_or_msr(unsigned long nmask, unsigned long or_val); +void CritcalInputException(struct pt_regs *regs); +void MachineCheckException(struct pt_regs *regs); +void AlignmentException(struct pt_regs *regs); +void ProgramCheckException(struct pt_regs *regs); +void PITException(struct pt_regs *regs); +void UnknownException(struct pt_regs *regs); +void DebugException(struct pt_regs *regs); + #endif /* ndef ASSEMBLY*/ #ifdef CONFIG_MACH_SPECIFIC -- cgit v1.2.3