commit | 5a0ab35e43a6e3c69893c0091fe6a78ea8b3e443 | [log] [tgz] |
---|---|---|
author | Andre Draszik <andre.draszik@st.com> | Mon Aug 24 15:01:10 2009 +0900 |
committer | Paul Mundt <lethal@linux-sh.org> | Mon Aug 24 15:01:10 2009 +0900 |
tree | fe45c2734484f8889e824a5045170bd4b64db975 | |
parent | 7436cde6b2ca71049051620c68c26522bb3403bf [diff] |
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: Andre Draszik <andre.draszik@st.com> Signed-off-by: Paul Mundt <lethal@linux-sh.org>