diff options
author | Marc Zyngier <maz@kernel.org> | 2019-09-01 22:12:36 +0100 |
---|---|---|
committer | Marc Zyngier <maz@kernel.org> | 2019-09-09 18:16:32 +0100 |
commit | aa979fa899c5cf592e63ce7b34bc767224225c6a (patch) | |
tree | 3e8bcfec5355448a943a205a520726fc1ca40335 /virt | |
parent | b6749e20d5710c955fc6d4322f8fd98c915b2573 (diff) | |
download | linux-stable-aa979fa899c5cf592e63ce7b34bc767224225c6a.tar.gz linux-stable-aa979fa899c5cf592e63ce7b34bc767224225c6a.tar.bz2 linux-stable-aa979fa899c5cf592e63ce7b34bc767224225c6a.zip |
arm64: KVM: Replace hyp_alternate_select with has_vhe()
Given that the TLB invalidation path is pretty rarely used, there
was never any advantage to using hyp_alternate_select() here.
has_vhe(), being a glorified static key, is the right tool for
the job.
Off you go.
Signed-off-by: Marc Zyngier <maz@kernel.org>
Reviewed-by: Christoffer Dall <christoffer.dall@arm.com>
Reviewed-by: Andrew Jones <drjones@redhat.com>
Diffstat (limited to 'virt')
0 files changed, 0 insertions, 0 deletions