]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commitdiff
KVM: x86: fix previous commit for 32-bit
authorPaolo Bonzini <pbonzini@redhat.com>
Wed, 14 Oct 2015 13:51:08 +0000 (15:51 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Wed, 14 Oct 2015 14:39:25 +0000 (16:39 +0200)
Unfortunately I only noticed this after pushing.

Fixes: f0d648bdf0a5bbc91da6099d5282f77996558ea4
Cc: stable@vger.kernel.org
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/x86.c

index 6e03546faf2e438b8ca1801962538defd9b2c6da..9a9a198303219b6430159af03d4d1e1d898ec6f7 100644 (file)
@@ -7482,7 +7482,7 @@ void kvm_arch_sync_events(struct kvm *kvm)
 int __x86_set_memory_region(struct kvm *kvm, int id, gpa_t gpa, u32 size)
 {
        int i, r;
-       u64 hva;
+       unsigned long hva;
        struct kvm_memslots *slots = kvm_memslots(kvm);
        struct kvm_memory_slot *slot, old;