Matthew Wilcox (Oracle) 522a0032af Add linux/cacheflush.h
Many architectures do not include asm-generic/cacheflush.h, so turn
the includes on their head and add linux/cacheflush.h which includes
asm/cacheflush.h.

Move the flush_dcache_folio() declaration from asm-generic/cacheflush.h
to linux/cacheflush.h and change linux/highmem.h to include
linux/cacheflush.h instead of asm/cacheflush.h so that all necessary
places will see flush_dcache_folio().

More functions should have their default implementations moved in the
future, but those are for follow-on patches.  This fixes csky, sparc and
sparc64 which were missed in the commit which added flush_dcache_folio().

Fixes: 08b0b0059bf1 ("mm: Add flush_dcache_folio()")
Suggested-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Acked-by: Geert Uytterhoeven <geert@linux-m68k.org>
2021-11-17 10:36:15 -05:00
..
2021-09-01 15:13:02 -07:00
2017-11-15 13:28:48 -08:00
2021-11-17 10:36:15 -05:00
2021-10-08 11:57:54 -07:00
2021-02-24 16:32:23 -08:00
2021-06-29 10:53:55 -07:00
2020-01-23 10:41:16 -08:00
2021-01-20 09:30:45 +01:00
2018-05-07 07:15:41 +02:00
2021-11-04 08:32:38 -07:00