aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm64/include/asm/kvm_host.h
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2021-06-10 12:30:32 -0400
committerPaolo Bonzini <pbonzini@redhat.com>2021-06-17 14:25:27 -0400
commite3cb6fa0e2bf4ffc6225a55851f0cf2b93b50f91 (patch)
tree57e47b6b751cd0945d5e7d8b3e1e287929b29e15 /arch/arm64/include/asm/kvm_host.h
parentKVM: x86/mmu: Grab nx_lpage_splits as an unsigned long before division (diff)
downloadlinux-dev-e3cb6fa0e2bf4ffc6225a55851f0cf2b93b50f91.tar.xz
linux-dev-e3cb6fa0e2bf4ffc6225a55851f0cf2b93b50f91.zip
KVM: switch per-VM stats to u64
Make them the same type as vCPU stats. There is no reason to limit the counters to unsigned long. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'arch/arm64/include/asm/kvm_host.h')
-rw-r--r--arch/arm64/include/asm/kvm_host.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm64/include/asm/kvm_host.h b/arch/arm64/include/asm/kvm_host.h
index 7cd7d5c8c4bc..d56f365b38a8 100644
--- a/arch/arm64/include/asm/kvm_host.h
+++ b/arch/arm64/include/asm/kvm_host.h
@@ -556,7 +556,7 @@ static inline bool __vcpu_write_sys_reg_to_cpu(u64 val, int reg)
}
struct kvm_vm_stat {
- ulong remote_tlb_flush;
+ u64 remote_tlb_flush;
};
struct kvm_vcpu_stat {