]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
Blackfin arch: Add ANOMALY_05000368 workaround
authorMichael Hennerich <michael.hennerich@analog.com>
Wed, 16 Jul 2008 08:59:05 +0000 (16:59 +0800)
committerBryan Wu <cooloney@kernel.org>
Wed, 16 Jul 2008 08:59:05 +0000 (16:59 +0800)
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>
arch/blackfin/kernel/entry.S

index 65f4e67a65c4c0c3f0a8d2ad31ca12bee231e6ea..31bd9bf3efae267fd6101ba9569929272070b7cc 100644 (file)
@@ -64,6 +64,11 @@ ENDPROC(_ret_from_fork)
 
 ENTRY(_sys_fork)
        r0 = -EINVAL;
+#if (ANOMALY_05000371)
+       nop;
+       nop;
+       nop;
+#endif
        rts;
 ENDPROC(_sys_fork)