diff options
author | Marc Zyngier <marc.zyngier@arm.com> | 2017-12-03 20:01:39 +0300 |
---|---|---|
committer | Marc Zyngier <marc.zyngier@arm.com> | 2018-03-19 16:03:25 +0300 |
commit | a264bf34424c815d4565cf1ba0e3cd56b7d5c816 (patch) | |
tree | 8c13379748c1acc4bbfddd43c324798a8dced910 /arch/arm64/include/asm/insn.h | |
parent | dea5e2a4c5bcf196f879a66cebdcca07793e8ba4 (diff) | |
download | linux-a264bf34424c815d4565cf1ba0e3cd56b7d5c816.tar.xz |
arm64: insn: Add N immediate encoding
We're missing the a way to generate the encoding of the N immediate,
which is only a single bit used in a number of instruction that take
an immediate.
Acked-by: Christoffer Dall <christoffer.dall@linaro.org>
Reviewed-by: Catalin Marinas <catalin.marinas@arm.com>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
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 4214c38d016b..21fffdd290a3 100644 --- a/arch/arm64/include/asm/insn.h +++ b/arch/arm64/include/asm/insn.h @@ -70,6 +70,7 @@ enum aarch64_insn_imm_type { AARCH64_INSN_IMM_6, AARCH64_INSN_IMM_S, AARCH64_INSN_IMM_R, + AARCH64_INSN_IMM_N, AARCH64_INSN_IMM_MAX }; |