summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Hennerich <michael.hennerich@analog.com>2008-07-16 16:59:05 +0800
committerBryan Wu <cooloney@kernel.org>2008-07-16 16:59:05 +0800
commit2cfebf2bceff4645b403246b608b1bb6222e4deb (patch)
tree80493de4d34c22aeaa3957c056d0a71c788007d7
parent1efc80b53eb54770139219f99657abd92595fc86 (diff)
downloadop-kernel-dev-2cfebf2bceff4645b403246b608b1bb6222e4deb.zip
op-kernel-dev-2cfebf2bceff4645b403246b608b1bb6222e4deb.tar.gz
Blackfin arch: Add ANOMALY_05000368 workaround
Possible RETS Register Corruption when Subroutine Is under 5 Cycles in Duration Signed-off-by: Michael Hennerich <michael.hennerich@analog.com> Signed-off-by: Bryan Wu <cooloney@kernel.org>
-rw-r--r--arch/blackfin/kernel/entry.S5
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/blackfin/kernel/entry.S b/arch/blackfin/kernel/entry.S
index 65f4e67..31bd9bf 100644
--- a/arch/blackfin/kernel/entry.S
+++ b/arch/blackfin/kernel/entry.S
@@ -64,6 +64,11 @@ ENDPROC(_ret_from_fork)
ENTRY(_sys_fork)
r0 = -EINVAL;
+#if (ANOMALY_05000371)
+ nop;
+ nop;
+ nop;
+#endif
rts;
ENDPROC(_sys_fork)
OpenPOWER on IntegriCloud