summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorMike Frysinger <vapier.adi@gmail.com>2008-10-28 16:34:42 +0800
committerBryan Wu <cooloney@kernel.org>2008-10-28 16:34:42 +0800
commit2cf851137b55cd0c49fd9e005cd01ac4761c005e (patch)
tree56a1ca33fa93ef3731c674f7de660bba916bd3c7 /arch
parente04f9f427bca526d7752879a5b3d341628c0cc0d (diff)
downloadlinux-3.10-2cf851137b55cd0c49fd9e005cd01ac4761c005e.tar.gz
linux-3.10-2cf851137b55cd0c49fd9e005cd01ac4761c005e.tar.bz2
linux-3.10-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 'arch')
-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 a028e945041..3c98dacbf28 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