Re: [PATCH v14 102/138] iomap: Convert iomap_write_begin and iomap_write_end to folios
From: Matthew Wilcox <willy@infradead.org>
Date: 2021-07-15 15:29:55
Also in:
linux-mm, lkml, oe-kbuild-all
From: Matthew Wilcox <willy@infradead.org>
Date: 2021-07-15 15:29:55
Also in:
linux-mm, lkml, oe-kbuild-all
On Thu, Jul 15, 2021 at 09:53:26PM +0800, kernel test robot wrote:
quoted
quoted
fs/iomap/buffered-io.c:645:2: error: implicit declaration of function 'flush_dcache_folio' [-Werror,-Wimplicit-function-declaration]flush_dcache_folio(folio);
Thanks. ARM doesn't include asm-generic/cacheflush.h so it needs flush_dcache_folio() declared. Adding this:
+++ b/arch/arm/include/asm/cacheflush.h@@ -290,6 +290,7 @@ extern void flush_cache_page(struct vm_area_struct *vma, unsigned long user_addr */ #define ARCH_IMPLEMENTS_FLUSH_DCACHE_PAGE 1 extern void flush_dcache_page(struct page *); +void flush_dcache_folio(struct folio *folio); static inline void flush_kernel_vmap_range(void *addr, int size) {