projects
/
GitHub
/
mt8127
/
android_kernel_alcatel_ttab.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ba0d474
)
sh: Add UBC trap vector for SH2A
author
Peter Griffin
<pgriffin@mpc-data.co.uk>
Fri, 8 May 2009 14:51:51 +0000
(15:51 +0100)
committer
Paul Mundt
<lethal@linux-sh.org>
Fri, 8 May 2009 15:11:33 +0000
(
00:11
+0900)
Signed-off-by: Peter Griffin <pgriffin@mpc-data.co.uk>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/kernel/traps_32.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/sh/kernel/traps_32.c
b/arch/sh/kernel/traps_32.c
index 30ca9c51e52db677ac1f2d0cf0b5da287a78c466..67550d88c4e664127d9c116ea51d72e3373f3823 100644
(file)
--- 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();
}