mm: rationalise flush_icache_pages() and flush_icache_page()
authorMatthew Wilcox (Oracle) <willy@infradead.org>
Wed, 2 Aug 2023 15:13:59 +0000 (16:13 +0100)
committerAndrew Morton <akpm@linux-foundation.org>
Thu, 24 Aug 2023 23:20:25 +0000 (16:20 -0700)
commit203b7b6aad6769a43987deb81c35456de8bb16c7
tree0c1ed92ed1e993bdb1e07eb4246835f656987a8f
parent29269ad90bed55a9ece007a7ece53f4505df3781
mm: rationalise flush_icache_pages() and flush_icache_page()

Move the default (no-op) implementation of flush_icache_pages() to
<linux/cacheflush.h> from <asm-generic/cacheflush.h>.  Remove the
flush_icache_page() wrapper from each architecture into
<linux/cacheflush.h>.

Link: https://lkml.kernel.org/r/20230802151406.3735276-32-willy@infradead.org
Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
17 files changed:
arch/alpha/include/asm/cacheflush.h
arch/arc/include/asm/cacheflush.h
arch/arm/include/asm/cacheflush.h
arch/csky/abiv1/inc/abi/cacheflush.h
arch/csky/abiv2/inc/abi/cacheflush.h
arch/hexagon/include/asm/cacheflush.h
arch/loongarch/include/asm/cacheflush.h
arch/m68k/include/asm/cacheflush_mm.h
arch/mips/include/asm/cacheflush.h
arch/nios2/include/asm/cacheflush.h
arch/parisc/include/asm/cacheflush.h
arch/sh/include/asm/cacheflush.h
arch/sparc/include/asm/cacheflush_32.h
arch/sparc/include/asm/cacheflush_64.h
arch/xtensa/include/asm/cacheflush.h
include/asm-generic/cacheflush.h
include/linux/cacheflush.h