summaryrefslogtreecommitdiff
path: root/arch/x86/kvm/kvm_onhyperv.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/kvm/kvm_onhyperv.c')
-rw-r--r--arch/x86/kvm/kvm_onhyperv.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/x86/kvm/kvm_onhyperv.c b/arch/x86/kvm/kvm_onhyperv.c
index c7db2df50a7a..b469f45e3fe4 100644
--- a/arch/x86/kvm/kvm_onhyperv.c
+++ b/arch/x86/kvm/kvm_onhyperv.c
@@ -33,7 +33,8 @@ int hv_remote_flush_tlb_with_range(struct kvm *kvm,
{
struct kvm_arch *kvm_arch = &kvm->arch;
struct kvm_vcpu *vcpu;
- int ret = 0, i, nr_unique_valid_roots;
+ int ret = 0, nr_unique_valid_roots;
+ unsigned long i;
hpa_t root;
spin_lock(&kvm_arch->hv_root_tdp_lock);