Blackfin arch: only add IFLUSH nop padding when anomaly 443 is enabled
authorMike Frysinger <vapier.adi@gmail.com>
Tue, 28 Oct 2008 08:34:42 +0000 (16:34 +0800)
committerBryan Wu <cooloney@kernel.org>
Tue, 28 Oct 2008 08:34:42 +0000 (16:34 +0800)
Signed-off-by: Mike Frysinger <vapier.adi@gmail.com>
Signed-off-by: Bryan Wu <cooloney@kernel.org>
arch/blackfin/mach-common/cache.S

index a028e9450419b498c1f4741ec64e9a69dc945374..3c98dacbf2892960ec4053f3c3bfde85bbc01fd9 100644 (file)
 .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