Skip to contentSkip to conversation

arm64: insn:#include <linux/kprobes.h> instead of <asm/kprobes.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: insn:#include <linux/kprobes.h> instead of <asm/kprobes.h>

<linux/kprobes.h> is a generic header file, while
<asm/kprobes.h> is an x86 architecture-specific
header file.

---
 arch/arm64/lib/insn.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm64/lib/insn.c +1 -1
index 924934cb85ee..080dd263fd6e 100644
@@ -14,7 +14,7 @@
 #include <asm/debug-monitors.h>
 #include <asm/errno.h>
 #include <asm/insn.h>
-#include <asm/kprobes.h>
+#include <linux/kprobes.h>
 
 #define AARCH64_INSN_SF_BIT    BIT(31)
 #define AARCH64_INSN_N_BIT    BIT(22)