MIPS: c-r4k: Call R4600_HIT_CACHEOP_WAR_IMPL only for 32 byte cache lines.
authorRalf Baechle <ralf@linux-mips.org>
Thu, 22 May 2014 07:55:02 +0000 (09:55 +0200)
committerRalf Baechle <ralf@linux-mips.org>
Fri, 23 May 2014 13:12:38 +0000 (15:12 +0200)
R4600_HIT_CACHEOP_WAR_IMPL is only needed on R4600 v1.6 and the R4600 has
data cache lines that are always 32 bytes so the call is pointless in
r4k_blast_dcache_page_dc64.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/mm/c-r4k.c

index 1c74a6ad072a984be8005d7047ed7eb815ddb115..7bc14ffc7a1c2049c79ef6768931826df63b7bce 100644 (file)
@@ -105,7 +105,6 @@ static inline void r4k_blast_dcache_page_dc32(unsigned long addr)
 
 static inline void r4k_blast_dcache_page_dc64(unsigned long addr)
 {
-       R4600_HIT_CACHEOP_WAR_IMPL;
        blast_dcache64_page(addr);
 }