updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / vmware-patch / vmmon-2.6.35.diff
blob032b98dd433f91f75c4cec06f660f61bb2864595
1 diff --git a/include/compat_pci.h b/include/compat_pci.h
2 index fc88ae8..86e31c7 100644
3 --- a/include/compat_pci.h
4 +++ b/include/compat_pci.h
5 @@ -600,4 +600,9 @@ pci_get_drvdata(struct pci_dev *pdev)
6 device_set_wakeup_enable(dev, val)
7 #endif
9 +#if LINUX_VERSION_CODE > KERNEL_VERSION(2, 6, 34)
10 +#define iommu_map_range iommu_map
11 +#define iommu_unmap_range iommu_unmap
12 +#endif
14 #endif /* __COMPAT_PCI_H__ */