]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
sh: Fix up the address error exception handler for SH-2.
authorKieran Bingham <kbingham@mpc-data.co.uk>
Thu, 13 Mar 2008 10:43:07 +0000 (19:43 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Thu, 13 Mar 2008 10:43:07 +0000 (19:43 +0900)
commit6c0602b8dd4b41c078b52ed8ea97023970781744
tree0d3228ef476682ece6a40fb7eb6fff9a84eaba62
parentcae167d3d7f22a6a54ba47e7c3623b4c45a01e2b
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>
arch/sh/kernel/cpu/sh2/entry.S