diff options
author | Julien Thierry <jthierry@redhat.com> | 2021-03-03 20:05:30 +0300 |
---|---|---|
committer | Will Deacon <will@kernel.org> | 2021-05-27 19:38:07 +0300 |
commit | 633e5e938fea957577e6db33540a78debf0c5cbe (patch) | |
tree | 0b2728b8d28dbe370900535df5ae80a5766fc4ce /arch/arm64/include/asm/insn.h | |
parent | 5f154c4e20d7edd38bddec78f3e0a7628057ef76 (diff) | |
download | linux-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/include/asm/insn.h')
-rw-r--r-- | arch/arm64/include/asm/insn.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm64/include/asm/insn.h b/arch/arm64/include/asm/insn.h index f08579e5119e..7adc4398fadb 100644 --- a/arch/arm64/include/asm/insn.h +++ b/arch/arm64/include/asm/insn.h @@ -502,6 +502,7 @@ u32 aarch32_insn_mcr_extract_crm(u32 insn); typedef bool (pstate_check_t)(unsigned long); extern pstate_check_t * const aarch32_opcode_cond_checks[16]; + #endif /* __ASSEMBLY__ */ #endif /* __ASM_INSN_H */ |