mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] KVM: arm64:#include <linux/cacheflush.h> instead of <asm/cacheflush.h>
       [not found] <tencent_6FFBC70CAC8F277E10997551331C8029D006@qq.com>
@ 2023-07-14  5:09 ` chenqingyun001
  2023-07-14  8:05   ` Will Deacon
  0 siblings, 1 reply; 2+ messages in thread
From: chenqingyun001 @ 2023-07-14  5:09 UTC (permalink / raw)
  To: catalin.marinas, will; +Cc: linux-kernel

<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)
  {

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

* Re: [PATCH] KVM: arm64:#include <linux/cacheflush.h> instead of <asm/cacheflush.h>
  2023-07-14  5:09 ` [PATCH] KVM: arm64:#include <linux/cacheflush.h> instead of <asm/cacheflush.h> chenqingyun001
@ 2023-07-14  8:05   ` Will Deacon
  0 siblings, 0 replies; 2+ messages in thread
From: Will Deacon @ 2023-07-14  8:05 UTC (permalink / raw)
  To: chenqingyun001; +Cc: catalin.marinas, linux-kernel

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)
>  {

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

end of thread, other threads:[~2023-07-14  8:08 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <tencent_6FFBC70CAC8F277E10997551331C8029D006@qq.com>
2023-07-14  5:09 ` [PATCH] KVM: arm64:#include <linux/cacheflush.h> instead of <asm/cacheflush.h> chenqingyun001
2023-07-14  8:05   ` Will Deacon

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®