diff options
Diffstat (limited to 'virt/kvm/kvm_main.c')
-rw-r--r-- | virt/kvm/kvm_main.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/virt/kvm/kvm_main.c b/virt/kvm/kvm_main.c index 5f865ed4c431..e21194566b71 100644 --- a/virt/kvm/kvm_main.c +++ b/virt/kvm/kvm_main.c | |||
@@ -1087,8 +1087,7 @@ int __kvm_set_memory_region(struct kvm *kvm, | |||
1087 | int r; | 1087 | int r; |
1088 | gfn_t base_gfn; | 1088 | gfn_t base_gfn; |
1089 | unsigned long npages, ugfn; | 1089 | unsigned long npages, ugfn; |
1090 | int largepages; | 1090 | unsigned long largepages, i; |
1091 | unsigned long i; | ||
1092 | struct kvm_memory_slot *memslot; | 1091 | struct kvm_memory_slot *memslot; |
1093 | struct kvm_memory_slot old, new; | 1092 | struct kvm_memory_slot old, new; |
1094 | 1093 | ||