mirror of
https://github.com/FEX-Emu/linux.git
synced 2025-01-19 08:11:52 +00:00
KVM: Fix signature of kvm_iommu_map_pages stub
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>
This commit is contained in:
parent
77db5cbd29
commit
d7a79b6c80
@ -483,8 +483,7 @@ int kvm_deassign_device(struct kvm *kvm,
|
|||||||
struct kvm_assigned_dev_kernel *assigned_dev);
|
struct kvm_assigned_dev_kernel *assigned_dev);
|
||||||
#else /* CONFIG_IOMMU_API */
|
#else /* CONFIG_IOMMU_API */
|
||||||
static inline int kvm_iommu_map_pages(struct kvm *kvm,
|
static inline int kvm_iommu_map_pages(struct kvm *kvm,
|
||||||
gfn_t base_gfn,
|
struct kvm_memory_slot *slot)
|
||||||
unsigned long npages)
|
|
||||||
{
|
{
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user