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-10-18 22:19:34 -07:00
2019-11-26 11:33:38 -08:00
2021-11-17 10:36:15 -05:00
2021-10-18 22:19:34 -07:00
2014-01-15 00:28:11 +04:00
2018-12-17 13:48:22 -08:00
2018-02-11 09:18:12 -08:00
2014-01-14 10:19:58 -08:00
2014-01-14 10:19:58 -08:00
2014-01-15 00:27:03 +04:00
2021-07-01 11:06:03 -07:00
2020-01-31 12:17:25 -08:00
2021-11-06 14:54:03 -07:00
2019-09-01 13:11:57 -07:00
2014-01-14 10:19:59 -08:00
2018-01-02 03:25:41 -08:00
2019-04-03 10:32:54 +02:00
2020-02-04 21:57:02 -08:00