linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v1] Add struct folio to cacheflush.h
@ 2022-02-25 20:12 Michael Cheng
  2022-02-25 22:18 ` kernel test robot
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Michael Cheng @ 2022-02-25 20:12 UTC (permalink / raw)
  To: linux-kernel
  Cc: willy, michael.cheng, casey.g.bowman, lucas.demarchi,
	wayne.boyer, tvrtko.ursulin, matthew.d.roper, geert

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

Suggested-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Signed-off-by: Michael Cheng <michael.cheng@intel.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


^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2022-04-22 14:05 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-02-25 20:12 [PATCH v1] Add struct folio to cacheflush.h Michael Cheng
2022-02-25 22:18 ` kernel test robot
2022-02-25 23:50 ` kernel test robot
2022-04-22 14:04 ` kernel test robot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).