Skip to content

Commit

Permalink
Blackfin arch: only add IFLUSH nop padding when anomaly 443 is enabled
Browse files Browse the repository at this point in the history
Signed-off-by: Mike Frysinger <vapier.adi@gmail.com>
Signed-off-by: Bryan Wu <cooloney@kernel.org>
  • Loading branch information
Mike Frysinger authored and Bryan Wu committed Oct 28, 2008
1 parent e04f9f4 commit 2cf8511
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion arch/blackfin/mach-common/cache.S
Original file line number Diff line number Diff line change
Expand Up @@ -49,13 +49,17 @@
.ifnb \optflushins
\optflushins [P0];
.endif
#if ANOMALY_05000443
.ifb \optnopins
2:
.endif
\flushins [P0++];
.ifnb \optnopins
2: \optnopins;
2: \optnopins;
.endif
#else
2: \flushins [P0++];
#endif

RTS;
.endm
Expand Down

0 comments on commit 2cf8511

Please sign in to comment.