[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20220225201248.984169-1-michael.cheng@intel.com>
Date: Fri, 25 Feb 2022 12:12:48 -0800
From: Michael Cheng <michael.cheng@...el.com>
To: linux-kernel@...r.kernel.org
Cc: willy@...radead.org, michael.cheng@...el.com,
casey.g.bowman@...el.com, lucas.demarchi@...el.com,
wayne.boyer@...el.com, tvrtko.ursulin@...ux.intel.com,
matthew.d.roper@...el.com, geert@...ux-m68k.org
Subject: [PATCH v1] Add struct folio to cacheflush.h
Declare struct folio. This will help resolve warnings on s390 and h8300
platforms.
Suggested-by: Matthew Wilcox (Oracle) <willy@...radead.org>
Signed-off-by: Michael Cheng <michael.cheng@...el.com>
---
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
Powered by blists - more mailing lists