projects
/
cascardo
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
sh: add support for J-Core J2 processor
[cascardo/linux.git]
/
arch
/
sh
/
kernel
/
cpu
/
sh2
/
entry.S
diff --git
a/arch/sh/kernel/cpu/sh2/entry.S
b/arch/sh/kernel/cpu/sh2/entry.S
index
a150595
..
16bde0e
100644
(file)
--- a/
arch/sh/kernel/cpu/sh2/entry.S
+++ b/
arch/sh/kernel/cpu/sh2/entry.S
@@
-147,6
+147,11
@@
ENTRY(exception_handler)
mov #31,r8
cmp/hs r8,r9
bt trap_entry ! 64 > vec >= 31 is trap
+#ifdef CONFIG_CPU_J2
+ mov #16,r8
+ cmp/hs r8,r9
+ bt interrupt_entry ! 31 > vec >= 16 is interrupt
+#endif
mov.l 4f,r8
mov r9,r4