summaryrefslogtreecommitdiff
path: root/arch/arm64/kernel/alternative.c
diff options
context:
space:
mode:
authorMarc Zyngier <marc.zyngier@arm.com>2015-03-27 13:09:21 +0000
committerWill Deacon <will.deacon@arm.com>2015-03-30 11:03:42 +0100
commit0978fb25f86b7595821cee6955679250d47c6438 (patch)
tree3f4bafcc51a1df7f4adac354bd8956f77bd66e58 /arch/arm64/kernel/alternative.c
parent849176c96dab827548176e851525bd1c3fff5a6a (diff)
arm64: insn: Add aarch64_insn_decode_immediate
Patching an instruction sometimes requires extracting the immediate field from this instruction. To facilitate this, and avoid potential duplication of code, add aarch64_insn_decode_immediate as the reciprocal to aarch64_insn_encode_immediate. Acked-by: Will Deacon <will.deacon@arm.com> Signed-off-by: Marc Zyngier <marc.zyngier@arm.com> Signed-off-by: Will Deacon <will.deacon@arm.com>
Diffstat (limited to 'arch/arm64/kernel/alternative.c')
0 files changed, 0 insertions, 0 deletions