[PATCH v1] Add struct folio to cacheflush.h

From: Michael Cheng
Date: Fri Feb 25 2022 - 15:13:15 EST


Declare struct folio. This will help resolve warnings on s390 and h8300
platforms.

Suggested-by: Matthew Wilcox (Oracle) <willy@xxxxxxxxxxxxx>
Signed-off-by: Michael Cheng <michael.cheng@xxxxxxxxx>
---
include/linux/cacheflush.h | 2 ++
1 file changed, 2 insertions(+)

diff --git a/include/linux/cacheflush.h b/include/linux/cacheflush.h
index fef8b607f97e..ea32982d6c23 100644
--- a/include/linux/cacheflush.h
+++ b/include/linux/cacheflush.h
@@ -4,6 +4,8 @@

#include <asm/cacheflush.h>

+struct folio *folio;
+
#if ARCH_IMPLEMENTS_FLUSH_DCACHE_PAGE
#ifndef ARCH_IMPLEMENTS_FLUSH_DCACHE_FOLIO
void flush_dcache_folio(struct folio *folio);
--
2.25.1