summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/include
diff options
context:
space:
mode:
authorChristophe Leroy2019-05-14 11:05:13 +0200
committerMichael Ellerman2019-07-04 17:35:10 +0200
commit1cfb725fb1899dc6fdc88f8b5354a65e8ad260c6 (patch)
tree1e1a4bf185f110b05a2f47b7ed9533d3893d81d1 /arch/powerpc/include
parentpowerpc: slightly improve cache helpers (diff)
downloadkernel-qcow2-linux-1cfb725fb1899dc6fdc88f8b5354a65e8ad260c6.tar.gz
kernel-qcow2-linux-1cfb725fb1899dc6fdc88f8b5354a65e8ad260c6.tar.xz
kernel-qcow2-linux-1cfb725fb1899dc6fdc88f8b5354a65e8ad260c6.zip
powerpc/64: flush_inval_dcache_range() becomes flush_dcache_range()
On most arches having function flush_dcache_range(), including PPC32, this function does a writeback and invalidation of the cache bloc. On PPC64, flush_dcache_range() only does a writeback while flush_inval_dcache_range() does the invalidation in addition. In addition it looks like within arch/powerpc/, there are no PPC64 platforms using flush_dcache_range() This patch drops the existing 64 bits version of flush_dcache_range() and renames flush_inval_dcache_range() into flush_dcache_range(). Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch/powerpc/include')
-rw-r--r--arch/powerpc/include/asm/cacheflush.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/powerpc/include/asm/cacheflush.h b/arch/powerpc/include/asm/cacheflush.h
index b189f7aee222..69b6c3d78d6c 100644
--- a/arch/powerpc/include/asm/cacheflush.h
+++ b/arch/powerpc/include/asm/cacheflush.h
@@ -112,7 +112,6 @@ static inline void invalidate_dcache_range(unsigned long start,
#endif /* CONFIG_PPC32 */
#ifdef CONFIG_PPC64
extern void flush_dcache_range(unsigned long start, unsigned long stop);
-extern void flush_inval_dcache_range(unsigned long start, unsigned long stop);
#endif
#define copy_to_user_page(vma, page, vaddr, dst, src, len) \