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
..
2020-06-01 14:48:52 -04:00
2020-06-01 14:48:52 -04:00
2020-06-01 14:48:52 -04:00
2020-06-01 14:48:52 -04:00
2021-11-17 10:36:15 -05:00
2021-09-17 13:59:56 -04:00
2020-06-01 14:48:52 -04:00
2020-06-01 14:48:52 -04:00
2018-12-28 12:11:45 -08:00
2020-07-27 14:33:10 -04:00
2021-01-06 19:55:27 -05:00
2021-05-07 00:26:34 -07:00
2021-10-27 16:50:52 -04:00
2020-06-01 14:48:52 -04:00
2021-07-01 11:06:03 -07:00
2020-06-01 14:48:52 -04:00
2020-06-01 14:48:52 -04:00
2019-07-01 17:51:40 +02:00
2018-12-18 16:13:04 +01:00
2020-08-12 10:57:58 -07:00
2018-12-28 12:11:45 -08:00
2020-06-01 14:48:52 -04:00
2020-06-01 14:48:52 -04:00
2020-06-01 14:48:52 -04:00
2020-06-01 14:48:52 -04:00
2020-06-01 14:48:52 -04:00
2020-06-01 14:48:52 -04:00
2021-09-17 13:59:56 -04:00
2020-06-01 14:48:52 -04:00
2020-06-01 14:48:52 -04:00
2020-06-01 14:48:52 -04:00
2018-12-28 12:11:45 -08:00
2020-06-01 14:48:52 -04:00