arm64: Move aarch32 condition check functions
authorJulien Thierry <jthierry@redhat.com>
Wed, 3 Mar 2021 17:05:30 +0000 (18:05 +0100)
committerWill Deacon <will@kernel.org>
Thu, 27 May 2021 16:38:07 +0000 (17:38 +0100)
commit633e5e938fea957577e6db33540a78debf0c5cbe
tree0b2728b8d28dbe370900535df5ae80a5766fc4ce
parent5f154c4e20d7edd38bddec78f3e0a7628057ef76
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>
arch/arm64/include/asm/insn.h
arch/arm64/kernel/insn.c
arch/arm64/kernel/probes/simulate-insn.c
arch/arm64/kernel/traps.c