sh2(A) exception handler update
authorYoshinori Sato <ysato@users.sourceforge.jp>
Wed, 9 Jul 2008 16:20:03 +0000 (01:20 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Mon, 28 Jul 2008 09:10:34 +0000 (18:10 +0900)
commit6e80f5e8c4c685eb7bc34c3916e3d986b03f9981
tree3c8768bdb748ba6b1bc923d798b1a8e3b91df4eb
parentcafd63b0076b78bc8f114abbeb724c7e5f5bfe5d
sh2(A) exception handler update

This patch is

By sh2
- Remove duplicate code
- Reduce stack usage
- Cleanup and little optimize

By sh2a
- Add missing handler(256 to 511)
- Use sh2a instructions handler

Signed-off-by: Yoshinori Sato <ysato@users.sourceforge.jp>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/kernel/cpu/sh2/entry.S
arch/sh/kernel/cpu/sh2/ex.S
arch/sh/kernel/cpu/sh2a/Makefile
arch/sh/kernel/cpu/sh2a/entry.S [new file with mode: 0644]
arch/sh/kernel/cpu/sh2a/ex.S [new file with mode: 0644]
arch/sh/kernel/traps_32.c