diff options
author | Lucas Stach <l.stach@pengutronix.de> | 2018-11-30 14:13:01 +0100 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2018-12-03 09:22:14 +0100 |
commit | 7bd0eca21f25d6cbc1c0ca9971c3ff992dc721b9 (patch) | |
tree | 0ea6964ce603350af3732717cb61d60d4b8db032 | |
parent | b61709db83bfa737f8eaa5a285bdf57b62bc68e2 (diff) | |
download | barebox-7bd0eca21f25d6cbc1c0ca9971c3ff992dc721b9.tar.gz barebox-7bd0eca21f25d6cbc1c0ca9971c3ff992dc721b9.tar.xz |
ARM: interrupts64: add missing prototypes
Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
-rw-r--r-- | arch/arm/cpu/interrupts_64.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/arch/arm/cpu/interrupts_64.c b/arch/arm/cpu/interrupts_64.c index f6f0c9d095..e8475d2e47 100644 --- a/arch/arm/cpu/interrupts_64.c +++ b/arch/arm/cpu/interrupts_64.c @@ -25,6 +25,16 @@ #include <asm/system.h> #include <asm/esr.h> +/* Avoid missing prototype warning, called from assembly */ +void do_bad_sync (struct pt_regs *pt_regs); +void do_bad_irq (struct pt_regs *pt_regs); +void do_bad_fiq (struct pt_regs *pt_regs); +void do_bad_error (struct pt_regs *pt_regs); +void do_fiq (struct pt_regs *pt_regs); +void do_irq (struct pt_regs *pt_regs); +void do_error (struct pt_regs *pt_regs); +void do_sync(struct pt_regs *pt_regs, unsigned int esr, unsigned long far); + static const char *esr_class_str[] = { [0 ... ESR_ELx_EC_MAX] = "UNRECOGNIZED EC", [ESR_ELx_EC_UNKNOWN] = "Unknown/Uncategorized", |