sh: Fix unaligned memory access for branches without delay slots
authorPhil Edworthy <Phil.Edworthy@renesas.com>
Mon, 22 Aug 2011 15:56:08 +0000 (15:56 +0000)
committerPaul Mundt <lethal@linux-sh.org>
Mon, 29 Aug 2011 06:32:04 +0000 (15:32 +0900)
commit0710b91c516ffd448db6e80e9026f11778a80d45
treeecb5955e09895f775ed7d6e38ee38facb87c1ff2
parent2d0b579a9831c927bcebf5f61055e7462f0af2dc
sh: Fix unaligned memory access for branches without delay slots

This patch just clears the return code for those cases where an
unaligned memory access occurs on branch instructions without a
delay slot.

Signed-off-by: Phil Edworthy <phil.edworthy@renesas.com>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/kernel/traps_32.c