mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Will Deacon <will@kernel.org>
To: chenqingyun001@208suo.com
Cc: catalin.marinas@arm.com, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] KVM: arm64:#include <linux/cacheflush.h> instead of <asm/cacheflush.h>
Date: Fri, 14 Jul 2023 09:05:41 +0100	[thread overview]
Message-ID: <20230714080541.GA5117@willie-the-truck> (raw)
In-Reply-To: <31be9696f7a019a700176a2549992bfd@208suo.com>

On Fri, Jul 14, 2023 at 01:09:10PM +0800, chenqingyun001@208suo.com wrote:
> <linux/cacheflush.h> is a generic header file,
> while <asm/cacheflush.h> is an x86
> architecture-specific header file

wut?

Will

> 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  8:08 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
2023-07-14  8:05   ` Will Deacon [this message]

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=20230714080541.GA5117@willie-the-truck \
    --to=will@kernel.org \
    --cc=catalin.marinas@arm.com \
    --cc=chenqingyun001@208suo.com \
    --cc=linux-kernel@vger.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®