summaryrefslogtreecommitdiffstats
path: root/arch/sh/kernel/cpu/sh2a
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2009-08-15 07:41:45 +0900
committerPaul Mundt <lethal@linux-sh.org>2009-08-15 07:41:45 +0900
commit7a90e00dda0bae66b5232d5a37155f13a0581369 (patch)
treee130138a736823a84450c9eff6ff8e8b85940e39 /arch/sh/kernel/cpu/sh2a
parent606b4c992f3b28f906100f1b6eb49059909d8da7 (diff)
downloadblackbird-op-linux-7a90e00dda0bae66b5232d5a37155f13a0581369.tar.gz
blackbird-op-linux-7a90e00dda0bae66b5232d5a37155f13a0581369.zip
sh: Make sure rte delay slots are nopped out on all parts.
Future SH parts do not support any instruction but a nop in the rte delay slot, so make the change for all offending parts. SH-5 is excluded from this, and already has its own set of restrictions with regards to rte delay slot handling. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/kernel/cpu/sh2a')
-rw-r--r--arch/sh/kernel/cpu/sh2a/entry.S3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/sh/kernel/cpu/sh2a/entry.S b/arch/sh/kernel/cpu/sh2a/entry.S
index ab3903eeda5c..222742ddc0d6 100644
--- a/arch/sh/kernel/cpu/sh2a/entry.S
+++ b/arch/sh/kernel/cpu/sh2a/entry.S
@@ -176,8 +176,9 @@ ENTRY(sh_bios_handler)
movml.l @r15+,r14
add #8,r15
lds.l @r15+, pr
+ mov.l @r15+,r15
rte
- mov.l @r15+,r15
+ nop
.align 2
1: .long gdb_vbr_vector
#endif /* CONFIG_SH_STANDARD_BIOS */
OpenPOWER on IntegriCloud