mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] arm64: kprobes:Use #include <linux/cacheflush.h> instead of <asm/cacheflush.h>
       [not found] <tencent_A428F07DC9F08B94E0D44D8FDF25667A7C09@qq.com>
@ 2023-07-14  5:48 ` chenqingyun001
  0 siblings, 0 replies; only message in thread
From: chenqingyun001 @ 2023-07-14  5:48 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/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>

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2023-07-14  5:48 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <tencent_A428F07DC9F08B94E0D44D8FDF25667A7C09@qq.com>
2023-07-14  5:48 ` [PATCH] arm64: kprobes:Use #include <linux/cacheflush.h> instead of <asm/cacheflush.h> chenqingyun001

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®