From: Mike Frysinger Date: Tue, 28 Oct 2008 08:34:42 +0000 (+0800) Subject: Blackfin arch: only add IFLUSH nop padding when anomaly 443 is enabled X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=2cf851137b55cd0c49fd9e005cd01ac4761c005e;p=linux-beck.git Blackfin arch: only add IFLUSH nop padding when anomaly 443 is enabled Signed-off-by: Mike Frysinger Signed-off-by: Bryan Wu --- 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