diff options
author | Peter Griffin <pgriffin@mpc-data.co.uk> | 2009-05-08 15:51:51 +0100 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2009-05-09 00:11:33 +0900 |
commit | cd89436e54b29a07a383ee82f2f718d8c9d24cc4 (patch) | |
tree | 28422f39c09329c73bfc3a4c3198e5f3c44b5110 | |
parent | ba0d474082dfa37fb0efd439b4d0c0234ceb1e80 (diff) | |
download | blackbird-op-linux-cd89436e54b29a07a383ee82f2f718d8c9d24cc4.tar.gz blackbird-op-linux-cd89436e54b29a07a383ee82f2f718d8c9d24cc4.zip |
sh: Add UBC trap vector for SH2A
Signed-off-by: Peter Griffin <pgriffin@mpc-data.co.uk>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
-rw-r--r-- | arch/sh/kernel/traps_32.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/sh/kernel/traps_32.c b/arch/sh/kernel/traps_32.c index 30ca9c51e52d..67550d88c4e6 100644 --- a/arch/sh/kernel/traps_32.c +++ b/arch/sh/kernel/traps_32.c @@ -34,6 +34,7 @@ # define TRAP_ILLEGAL_SLOT_INST 6 # define TRAP_ADDRESS_ERROR 9 # ifdef CONFIG_CPU_SH2A +# define TRAP_UBC 12 # define TRAP_FPU_ERROR 13 # define TRAP_DIVZERO_ERROR 17 # define TRAP_DIVOVF_ERROR 18 @@ -849,6 +850,10 @@ void __init trap_init(void) #endif #endif +#ifdef TRAP_UBC + set_exception_table_vec(TRAP_UBC, break_point_trap); +#endif + /* Setup VBR for boot cpu */ per_cpu_trap_init(); } |