]> pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
x86: remove ifdef CONFIG_CALGARY_IOMMU in pci-dma.c
authorFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Fri, 11 Jul 2008 01:23:44 +0000 (10:23 +0900)
committerIngo Molnar <mingo@elte.hu>
Fri, 11 Jul 2008 09:00:55 +0000 (11:00 +0200)
asm-x86/calgary.h has dummy calgary_iommu_init() and detect_calgary()
in !CONFIG_CALGARY_IOMMU case. So we don't need ifdef
CONFIG_CALGARY_IOMMU in pci-dma.c.

Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Acked-by: Muli Ben-Yehuda <muli@il.ibm.com>
Cc: Alexis Bruemmer <alexisb@us.ibm.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/pci-dma.c

index dd57c5bbe2da3e0d3530c86b4a7c185d364fa2fd..f16cbbe424a1730d41a72b9fe3f4d728a47e33a5 100644 (file)
@@ -116,9 +116,7 @@ void __init pci_iommu_alloc(void)
         */
        gart_iommu_hole_init();
 
-#ifdef CONFIG_CALGARY_IOMMU
        detect_calgary();
-#endif
 
        detect_intel_iommu();
 
@@ -496,9 +494,7 @@ EXPORT_SYMBOL(dma_free_coherent);
 
 static int __init pci_iommu_init(void)
 {
-#ifdef CONFIG_CALGARY_IOMMU
        calgary_iommu_init();
-#endif
 
        intel_iommu_init();