diff options
author | Kevin Cernekee <cernekee@gmail.com> | 2011-11-15 20:25:45 -0500 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2011-12-07 17:03:18 -0500 |
commit | 6fb97effee5374ac5b2a0e8666d380e83b5ca1e3 (patch) | |
tree | 5a97ac150b3c37580628ab8391f5a8754ad6cc1c /arch/mips/include/asm | |
parent | 34bd92e27becdc2c8b50d200a329da5e9b8174d9 (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')
-rw-r--r-- | arch/mips/include/asm/traps.h | 1 |
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); | |||
24 | extern void (*board_nmi_handler_setup)(void); | 24 | extern void (*board_nmi_handler_setup)(void); |
25 | extern void (*board_ejtag_handler_setup)(void); | 25 | extern void (*board_ejtag_handler_setup)(void); |
26 | extern void (*board_bind_eic_interrupt)(int irq, int regset); | 26 | extern void (*board_bind_eic_interrupt)(int irq, int regset); |
27 | extern void (*board_ebase_setup)(void); | ||
27 | 28 | ||
28 | extern int register_nmi_notifier(struct notifier_block *nb); | 29 | extern int register_nmi_notifier(struct notifier_block *nb); |
29 | 30 | ||