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>
Showing
Please register or sign in to comment