Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

cacheflush.h: Add forward declaration for struct folio

The struct folio is not declared in cacheflush.h so we need to provide
a forward declaration as otherwise users of this header file may get
warnings.

Reported-by: Guenter Roeck <linux@roeck-us.net>
Fixes: 522a0032af00 ("Add linux/cacheflush.h")
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Reviewed-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

authored by

Herbert Xu and committed by
Linus Torvalds
30d024b5 6b1f86f8

+2
+2
include/linux/cacheflush.h
··· 4 4 5 5 #include <asm/cacheflush.h> 6 6 7 + struct folio; 8 + 7 9 #if ARCH_IMPLEMENTS_FLUSH_DCACHE_PAGE 8 10 #ifndef ARCH_IMPLEMENTS_FLUSH_DCACHE_FOLIO 9 11 void flush_dcache_folio(struct folio *folio);