lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <5dc4597a17908d03fd9c7c9007138a85@208suo.com>
Date:   Fri, 14 Jul 2023 13:19:43 +0800
From:   chenqingyun001@...suo.com
To:     catalin.marinas@....com, will@...nel.org
Cc:     linux-kernel@...r.kernel.org
Subject: [PATCH] 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.

Signed-off-by: Qingyun Chen <chenqingyun001@...suo.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)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ