aboutsummaryrefslogtreecommitdiff
path: root/lib/syscall.c
diff options
context:
space:
mode:
authorMark Rutland <[email protected]>2016-09-07 11:07:10 +0100
committerWill Deacon <[email protected]>2016-09-12 10:46:07 +0100
commite506236a7b8140d73b35fee80f7e38c794dd931d (patch)
tree79098881bd7f91c836667c9c66e018d742d5e619 /lib/syscall.c
parent6ba3b554f5b9b53cb99c0edb93f0ea855fbc712a (diff)
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 <[email protected]> Cc: [email protected] Acked-by: Christoffer Dall <[email protected]> Signed-off-by: Mark Rutland <[email protected]> Signed-off-by: Will Deacon <[email protected]>
Diffstat (limited to 'lib/syscall.c')
0 files changed, 0 insertions, 0 deletions