diff options
author | Michael Hennerich <michael.hennerich@analog.com> | 2008-07-16 04:59:05 -0400 |
---|---|---|
committer | Bryan Wu <cooloney@kernel.org> | 2008-07-16 04:59:05 -0400 |
commit | 2cfebf2bceff4645b403246b608b1bb6222e4deb (patch) | |
tree | 80493de4d34c22aeaa3957c056d0a71c788007d7 | |
parent | 1efc80b53eb54770139219f99657abd92595fc86 (diff) |
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.S | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/blackfin/kernel/entry.S b/arch/blackfin/kernel/entry.S index 65f4e67a65c4..31bd9bf3efae 100644 --- a/arch/blackfin/kernel/entry.S +++ b/arch/blackfin/kernel/entry.S | |||
@@ -64,6 +64,11 @@ ENDPROC(_ret_from_fork) | |||
64 | 64 | ||
65 | ENTRY(_sys_fork) | 65 | ENTRY(_sys_fork) |
66 | r0 = -EINVAL; | 66 | r0 = -EINVAL; |
67 | #if (ANOMALY_05000371) | ||
68 | nop; | ||
69 | nop; | ||
70 | nop; | ||
71 | #endif | ||
67 | rts; | 72 | rts; |
68 | ENDPROC(_sys_fork) | 73 | ENDPROC(_sys_fork) |
69 | 74 | ||