summaryrefslogtreecommitdiff
path: root/arch/mips/include/asm/traps.h
diff options
context:
space:
mode:
authorKevin Cernekee <cernekee@gmail.com>2011-11-16 01:25:45 +0000
committerRalf Baechle <ralf@linux-mips.org>2011-12-07 22:03:18 +0000
commit6fb97effee5374ac5b2a0e8666d380e83b5ca1e3 (patch)
tree5a97ac150b3c37580628ab8391f5a8754ad6cc1c /arch/mips/include/asm/traps.h
parent34bd92e27becdc2c8b50d200a329da5e9b8174d9 (diff)
MIPS: Add board_ebase_setup()
Some systems need to relocate the MIPS exception vector base during trap initialization. Add a hook to make this possible. Signed-off-by: Kevin Cernekee <cernekee@gmail.com> Cc: linux-mips@linux-mips.org Patchwork: https://patchwork.linux-mips.org/patch/2959/ Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/include/asm/traps.h')
-rw-r--r--arch/mips/include/asm/traps.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/mips/include/asm/traps.h b/arch/mips/include/asm/traps.h
index 4edab87eebd2..ff74aec3561a 100644
--- a/arch/mips/include/asm/traps.h
+++ b/arch/mips/include/asm/traps.h
@@ -24,6 +24,7 @@ extern int (*board_be_handler)(struct pt_regs *regs, int is_fixup);
extern void (*board_nmi_handler_setup)(void);
extern void (*board_ejtag_handler_setup)(void);
extern void (*board_bind_eic_interrupt)(int irq, int regset);
+extern void (*board_ebase_setup)(void);
extern int register_nmi_notifier(struct notifier_block *nb);