commit | 6c0602b8dd4b41c078b52ed8ea97023970781744 | [log] [tgz] |
---|---|---|
author | Kieran Bingham <kbingham@mpc-data.co.uk> | Thu Mar 13 19:43:07 2008 +0900 |
committer | Paul Mundt <lethal@linux-sh.org> | Thu Mar 13 19:43:07 2008 +0900 |
tree | 0d3228ef476682ece6a40fb7eb6fff9a84eaba62 | |
parent | cae167d3d7f22a6a54ba47e7c3623b4c45a01e2b [diff] |
sh: Fix up the address error exception handler for SH-2. Presently the SH-2/SH-2A address error exception dispatch copies off the register state from the stack and skips over the first register, skewing the rest. Fix up the math here so that the proper register state is handed down to the exception handler itself. Signed-off-by: Kieran Bingham <kbingham@mpc-data.co.uk> Signed-off-by: Paul Mundt <lethal@linux-sh.org>