summaryrefslogtreecommitdiff
path: root/arch/arm64/kernel/probes
diff options
context:
space:
mode:
authorJulien Thierry <jthierry@redhat.com>2021-03-03 20:05:30 +0300
committerWill Deacon <will@kernel.org>2021-05-27 19:38:07 +0300
commit633e5e938fea957577e6db33540a78debf0c5cbe (patch)
tree0b2728b8d28dbe370900535df5ae80a5766fc4ce /arch/arm64/kernel/probes
parent5f154c4e20d7edd38bddec78f3e0a7628057ef76 (diff)
downloadlinux-633e5e938fea957577e6db33540a78debf0c5cbe.tar.xz
arm64: Move aarch32 condition check functions
The functions to check condition flags for aarch32 execution is only used to emulate aarch32 instructions. Move them from the instruction encoding/decoding code to the trap handling files. Signed-off-by: Julien Thierry <jthierry@redhat.com> Link: https://lore.kernel.org/r/20210303170536.1838032-3-jthierry@redhat.com [will: leave aarch32_opcode_cond_checks where it is] Signed-off-by: Will Deacon <will@kernel.org> Signed-off-by: Will Deacon <will@kernel.org>
Diffstat (limited to 'arch/arm64/kernel/probes')
-rw-r--r--arch/arm64/kernel/probes/simulate-insn.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm64/kernel/probes/simulate-insn.c b/arch/arm64/kernel/probes/simulate-insn.c
index 25f67ec59635..22d0b3252476 100644
--- a/arch/arm64/kernel/probes/simulate-insn.c
+++ b/arch/arm64/kernel/probes/simulate-insn.c
@@ -10,6 +10,7 @@
#include <linux/kprobes.h>
#include <asm/ptrace.h>
+#include <asm/traps.h>
#include "simulate-insn.h"