Skip to contentSkip to conversation

arm64: kprobes:Use #include <linux/cacheflush.h> instead of <asm/cacheflush.h>

PATCH New [email protected] 1 participant 1 message Jul 14, 2023 1 message not in the archive arm64

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw

PATCH 1/1 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.

---
 arch/arm64/kernel/probes/kprobes.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm64/kernel/probes/kprobes.c +1 -1
index 70b91a8c6bb3..9da6b07801fa 100644
@@ -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>