]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - arch/x86_64/kernel/pci-calgary.c
[PATCH] x86: Allow disabling early pci scans with pci=noearly or disallowing conf1
[linux-2.6-omap-h63xx.git] / arch / x86_64 / kernel / pci-calgary.c
index 466588f956013233942e07d9e4287e6caf871430..cfb09b07ae99864b90062b6f96fc60201341a654 100644 (file)
@@ -924,6 +924,9 @@ void __init detect_calgary(void)
        if (swiotlb || no_iommu || iommu_detected)
                return;
 
+       if (!early_pci_allowed())
+               return;
+
        specified_table_size = determine_tce_table_size(end_pfn * PAGE_SIZE);
 
        for (bus = 0; bus < MAX_PHB_BUS_NUM; bus++) {