diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2020-09-15 09:00:50 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2020-09-15 09:00:54 +0200 |
commit | 701fb46cc0830607287f8aa901f9de9ee68c0f62 (patch) | |
tree | b1ebc6ce8aa8bd8196d5fee7ae0b36d5ca728280 /arch/powerpc | |
parent | 59c677a74a95270348333cec20b335a473981543 (diff) | |
download | barebox-701fb46cc0830607287f8aa901f9de9ee68c0f62.tar.gz barebox-701fb46cc0830607287f8aa901f9de9ee68c0f62.tar.xz |
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 <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/powerpc')
-rw-r--r-- | arch/powerpc/include/asm/processor.h | 8 |
1 files changed, 8 insertions, 0 deletions
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 |