diff options
author | Marc Zyngier <maz@kernel.org> | 2020-05-13 12:38:28 +0200 |
---|---|---|
committer | Marc Zyngier <maz@kernel.org> | 2020-05-16 16:04:51 +0200 |
commit | ce6f8f02f9f6786355fa6c79d88b839639dd75d8 (patch) | |
tree | a74ea5422b81a92da81719d095c4c2ea103f47b3 /virt | |
parent | KVM: arm64: Simplify __kvm_timer_set_cntvoff implementation (diff) | |
download | linux-ce6f8f02f9f6786355fa6c79d88b839639dd75d8.tar.xz linux-ce6f8f02f9f6786355fa6c79d88b839639dd75d8.zip |
KVM: arm64: Use cpus_have_final_cap for has_vhe()
By the time we start using the has_vhe() helper, we have long
discovered whether we are running VHE or not. It thus makes
sense to use cpus_have_final_cap() instead of cpus_have_const_cap(),
which leads to a small text size reduction.
Signed-off-by: Marc Zyngier <maz@kernel.org>
Acked-by: David Brazdil <dbrazdil@google.com>
Link: https://lore.kernel.org/r/20200513103828.74580-1-maz@kernel.org
Diffstat (limited to 'virt')
0 files changed, 0 insertions, 0 deletions