X-Git-Url: http://git.monstr.eu/?a=blobdiff_plain;f=arch%2Fia64%2Fkernel%2Fpci-dma.c;h=c90221733c6b91e031f0ac00758f5bbaf4cbf87a;hb=76f0f227cffb570bc5ce343b1750f14907371d80;hp=f5d49cd3fbb01a9933f5d547682d4adbdde2617e;hpb=58d4fafd0b4c36838077a5d7b17df537b7226f1c;p=linux-2.6-microblaze.git diff --git a/arch/ia64/kernel/pci-dma.c b/arch/ia64/kernel/pci-dma.c index f5d49cd3fbb0..c90221733c6b 100644 --- a/arch/ia64/kernel/pci-dma.c +++ b/arch/ia64/kernel/pci-dma.c @@ -10,7 +10,6 @@ #include #include #include -#include #include #include #include @@ -32,24 +31,3 @@ static int __init pci_iommu_init(void) /* Must execute after PCI subsystem */ fs_initcall(pci_iommu_init); - -void __init pci_iommu_alloc(void) -{ - /* - * The order of these functions is important for - * fall-back/fail-over reasons - */ - detect_intel_iommu(); - -#ifdef CONFIG_SWIOTLB - if (!iommu_detected) { -#ifdef CONFIG_IA64_GENERIC - printk(KERN_INFO "PCI-DMA: Re-initialize machine vector.\n"); - machvec_init("dig"); - swiotlb_dma_init(); -#else - panic("Unable to find Intel IOMMU"); -#endif /* CONFIG_IA64_GENERIC */ - } -#endif /* CONFIG_SWIOTLB */ -}