mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] arm64: insn:#include <linux/kprobes.h> instead of <asm/kprobes.h>
       [not found] <tencent_3C94F9BD7A26C7C7057F8C6CAB681E8ECD05@qq.com>
@ 2023-07-14  5:19 ` chenqingyun001
  0 siblings, 0 replies; only message in thread
From: chenqingyun001 @ 2023-07-14  5:19 UTC (permalink / raw)
  To: catalin.marinas, will; +Cc: linux-kernel

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

Signed-off-by: Qingyun Chen <chenqingyun001@208suo.com>
---
  arch/arm64/lib/insn.c | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm64/lib/insn.c b/arch/arm64/lib/insn.c
index 924934cb85ee..080dd263fd6e 100644
--- a/arch/arm64/lib/insn.c
+++ b/arch/arm64/lib/insn.c
@@ -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)

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

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

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <tencent_3C94F9BD7A26C7C7057F8C6CAB681E8ECD05@qq.com>
2023-07-14  5:19 ` [PATCH] arm64: insn:#include <linux/kprobes.h> instead of <asm/kprobes.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®