diff options
author | Julien Thierry <jthierry@redhat.com> | 2021-03-03 18:05:30 +0100 |
---|---|---|
committer | Will Deacon <will@kernel.org> | 2021-05-27 17:38:07 +0100 |
commit | 633e5e938fea957577e6db33540a78debf0c5cbe (patch) | |
tree | 0b2728b8d28dbe370900535df5ae80a5766fc4ce /arch/arm64/kernel/probes/simulate-insn.c | |
parent | 5f154c4e20d7edd38bddec78f3e0a7628057ef76 (diff) |
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/simulate-insn.c')
-rw-r--r-- | arch/arm64/kernel/probes/simulate-insn.c | 1 |
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" |