summaryrefslogtreecommitdiffstats
path: root/arch/blackfin/mach-common/cache.S
diff options
context:
space:
mode:
authorMike Frysinger <vapier.adi@gmail.com>2008-10-28 09:34:42 +0100
committerBryan Wu <cooloney@kernel.org>2008-10-28 09:34:42 +0100
commit2cf851137b55cd0c49fd9e005cd01ac4761c005e (patch)
tree56a1ca33fa93ef3731c674f7de660bba916bd3c7 /arch/blackfin/mach-common/cache.S
parentBlackfin arch: Remove useless SSYNCs in DMA code (diff)
downloadlinux-2cf851137b55cd0c49fd9e005cd01ac4761c005e.tar.xz
linux-2cf851137b55cd0c49fd9e005cd01ac4761c005e.zip
Blackfin arch: only add IFLUSH nop padding when anomaly 443 is enabled
Signed-off-by: Mike Frysinger <vapier.adi@gmail.com> Signed-off-by: Bryan Wu <cooloney@kernel.org>
Diffstat (limited to '')
-rw-r--r--arch/blackfin/mach-common/cache.S6
1 files changed, 5 insertions, 1 deletions
diff --git a/arch/blackfin/mach-common/cache.S b/arch/blackfin/mach-common/cache.S
index a028e9450419..3c98dacbf289 100644
--- a/arch/blackfin/mach-common/cache.S
+++ b/arch/blackfin/mach-common/cache.S
@@ -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