]> www.infradead.org Git - users/dwmw2/linux.git/commitdiff
KVM: Fix signature of kvm_iommu_map_pages stub
authorJan Kiszka <jan.kiszka@siemens.com>
Thu, 14 Oct 2010 11:59:04 +0000 (13:59 +0200)
committerMarcelo Tosatti <mtosatti@redhat.com>
Tue, 19 Oct 2010 12:57:12 +0000 (10:57 -0200)
Breaks otherwise if CONFIG_IOMMU_API is not set.

KVM-Stable-Tag.
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
include/linux/kvm_host.h

index 5d09197b620cb7b3db6aba7d01a43de8a464e4a9..23ce75f1e6e29957c0b5e84f96b5d7bde6317e5c 100644 (file)
@@ -522,8 +522,7 @@ int kvm_deassign_device(struct kvm *kvm,
                        struct kvm_assigned_dev_kernel *assigned_dev);
 #else /* CONFIG_IOMMU_API */
 static inline int kvm_iommu_map_pages(struct kvm *kvm,
-                                     gfn_t base_gfn,
-                                     unsigned long npages)
+                                     struct kvm_memory_slot *slot)
 {
        return 0;
 }