Mike Day wrote:
Compatibility code for intel_iommu no longer needed when
dependency on CONFIG_DMAR removed from kvm kernel build.
Signed-off-by: Mike D. Day <[EMAIL PROTECTED]>
---
external-module-compat.c | 11 -----------
1 file changed, 11 deletions(-)
diff --git a/kernel/external-module-compat.c b/kernel/external-module-compat.c
index 4b9a9f2..71429c7 100644
--- a/kernel/external-module-compat.c
+++ b/kernel/external-module-compat.c
@@ -265,14 +265,3 @@ struct pci_dev *pci_get_bus_and_slot(unsigned int bus,
unsigned int devfn)
}
#endif
-
-#include <linux/intel-iommu.h>
-
-#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,28)
-
-int intel_iommu_found()
-{
- return 0;
-}
-
-#endif
Older kernels won't have intel_iommu_found() even with your other patch,
so this code is still needed.
We can't compile the external module on a 2.6.27 tree that has the iommu
patched in; we can probably make this work by renaming
intel_iommu_found() to kvm_intel_iommu_found() in hack-module.awk.
--
error compiling committee.c: too many arguments to function
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html