[<prev] [next>] [day] [month] [year] [list]
Message-ID: <8ab7efa1c7dcde54a8bea39f66ef4712@208suo.com>
Date: Fri, 14 Jul 2023 13:48:02 +0800
From: chenqingyun001@...suo.com
To: catalin.marinas@....com, will@...nel.org
Cc: linux-kernel@...r.kernel.org
Subject: [PATCH] arm64: kprobes:Use #include <linux/cacheflush.h> instead of
<asm/cacheflush.h>
<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@...suo.com>
---
arch/arm64/kernel/probes/kprobes.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm64/kernel/probes/kprobes.c
b/arch/arm64/kernel/probes/kprobes.c
index 70b91a8c6bb3..9da6b07801fa 100644
--- a/arch/arm64/kernel/probes/kprobes.c
+++ b/arch/arm64/kernel/probes/kprobes.c
@@ -22,7 +22,7 @@
#include <linux/uaccess.h>
#include <linux/vmalloc.h>
-#include <asm/cacheflush.h>
+#include <linux/cacheflush.h>
#include <asm/daifflags.h>
#include <asm/debug-monitors.h>
#include <asm/insn.h>
Powered by blists - more mailing lists