Blackfin arch: only add IFLUSH nop padding when anomaly 443 is enabled
Mike Frysinger [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 a028e94..3c98dac 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