mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: chenqingyun001@208suo.com
To: catalin.marinas@arm.com, will@kernel.org
Cc: linux-kernel@vger.kernel.org
Subject: [PATCH] KVM: arm64:#include <linux/cacheflush.h> instead of <asm/cacheflush.h>
Date: Fri, 14 Jul 2023 13:09:10 +0800	[thread overview]
Message-ID: <31be9696f7a019a700176a2549992bfd@208suo.com> (raw)
In-Reply-To: <tencent_6FFBC70CAC8F277E10997551331C8029D006@qq.com>

<linux/cacheflush.h> is a generic header file,
while <asm/cacheflush.h> is an x86
architecture-specific header file

Signed-off-by: Qingyun Chen <chenqingyun001@208suo.com>
---
  arch/arm64/lib/uaccess_flushcache.c | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm64/lib/uaccess_flushcache.c 
b/arch/arm64/lib/uaccess_flushcache.c
index 7510d1a23124..cf8052f6e091 100644
--- a/arch/arm64/lib/uaccess_flushcache.c
+++ b/arch/arm64/lib/uaccess_flushcache.c
@@ -5,7 +5,7 @@

  #include <linux/uaccess.h>
  #include <asm/barrier.h>
-#include <asm/cacheflush.h>
+#include <linux/cacheflush.h>

  void memcpy_flushcache(void *dst, const void *src, size_t cnt)
  {

       reply	other threads:[~2023-07-14  5:09 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <tencent_6FFBC70CAC8F277E10997551331C8029D006@qq.com>
2023-07-14  5:09 ` chenqingyun001 [this message]
2023-07-14  8:05   ` Will Deacon

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=31be9696f7a019a700176a2549992bfd@208suo.com \
    --to=chenqingyun001@208suo.com \
    --cc=catalin.marinas@arm.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=will@kernel.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

all inboxes | Powered by JetHome®