From: Michael Cheng <michael.cheng@intel.com>
To: linux-kernel@vger.kernel.org
Cc: willy@infradead.org, michael.cheng@intel.com,
casey.g.bowman@intel.com, lucas.demarchi@intel.com,
wayne.boyer@intel.com, tvrtko.ursulin@linux.intel.com,
matthew.d.roper@intel.com, geert@linux-m68k.org
Subject: [PATCH v1] Add struct folio to cacheflush.h
Date: Fri, 25 Feb 2022 12:12:48 -0800 [thread overview]
Message-ID: <20220225201248.984169-1-michael.cheng@intel.com> (raw)
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
next reply other threads:[~2022-02-25 20:13 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-02-25 20:12 Michael Cheng [this message]
2022-02-25 22:18 ` [PATCH v1] Add struct folio to cacheflush.h kernel test robot
2022-02-25 23:50 ` kernel test robot
2022-04-22 14:04 ` kernel test robot
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20220225201248.984169-1-michael.cheng@intel.com \
--to=michael.cheng@intel.com \
--cc=casey.g.bowman@intel.com \
--cc=geert@linux-m68k.org \
--cc=linux-kernel@vger.kernel.org \
--cc=lucas.demarchi@intel.com \
--cc=matthew.d.roper@intel.com \
--cc=tvrtko.ursulin@linux.intel.com \
--cc=wayne.boyer@intel.com \
--cc=willy@infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox