From: Andre Draszik Date: Mon, 24 Aug 2009 06:01:10 +0000 (+0900) Subject: sh: cleanup of do_address_error() X-Git-Tag: v2.6.32-rc1~640^2~35^2~14^2~17 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5a0ab35e43a6e3c69893c0091fe6a78ea8b3e443;p=pandora-kernel.git 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 Signed-off-by: Paul Mundt --- Reading git-diff-tree failed