summaryrefslogtreecommitdiffstats
path: root/arch/arm64/kernel
diff options
context:
space:
mode:
authorMark Rutland2016-09-07 12:07:10 +0200
committerWill Deacon2016-09-12 11:46:07 +0200
commite506236a7b8140d73b35fee80f7e38c794dd931d (patch)
tree79098881bd7f91c836667c9c66e018d742d5e619 /arch/arm64/kernel
parentarm64: use alternative auto-nop (diff)
downloadkernel-qcow2-linux-e506236a7b8140d73b35fee80f7e38c794dd931d.tar.gz
kernel-qcow2-linux-e506236a7b8140d73b35fee80f7e38c794dd931d.tar.xz
kernel-qcow2-linux-e506236a7b8140d73b35fee80f7e38c794dd931d.zip
arm64/kvm: use alternative auto-nop
Make use of the new alternative_if and alternative_else_nop_endif and get rid of our open-coded NOP sleds, making the code simpler to read. Note that for __kvm_call_hyp the branch to __vhe_hyp_call has been moved out of the alternative sequence, and in the default case there will be four additional NOPs executed. Cc: Marc Zyngier <marc.zyngier@arm.com> Cc: kvmarm@lists.cs.columbia.edu Acked-by: Christoffer Dall <christoffer.dall@linaro.org> Signed-off-by: Mark Rutland <mark.rutland@arm.com> Signed-off-by: Will Deacon <will.deacon@arm.com>
Diffstat (limited to 'arch/arm64/kernel')
0 files changed, 0 insertions, 0 deletions