sh: cleanup of do_address_error()
authorAndre Draszik <andre.draszik@st.com>
Mon, 24 Aug 2009 06:01:10 +0000 (15:01 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Mon, 24 Aug 2009 06:01:10 +0000 (15:01 +0900)
This patch fixes a few problems with the existing code in do_address_error().

a) the variable used to printk()d the offending instruction wasn't
   initialized correctly. This is a fix to bug 5727

b) behaviour for CONFIG_CPU_SH2A wasn't correct

c) the 'ignore address error' behaviour didn't update the PC, causing an
   infinite loop.

Signed-off-by: Andre Draszik <andre.draszik@st.com>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>

No differences found