Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 5a0ab35e authored by Andre Draszik's avatar Andre Draszik Committed by Paul Mundt
Browse files

sh: cleanup of do_address_error()



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: default avatarAndre Draszik <andre.draszik@st.com>
Signed-off-by: default avatarPaul Mundt <lethal@linux-sh.org>
parent 7436cde6
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment