aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86_64/kernel/pci-gart.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86_64/kernel/pci-gart.c')
-rw-r--r--arch/x86_64/kernel/pci-gart.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86_64/kernel/pci-gart.c b/arch/x86_64/kernel/pci-gart.c
index 2b865c90b041..116e00f1bb7b 100644
--- a/arch/x86_64/kernel/pci-gart.c
+++ b/arch/x86_64/kernel/pci-gart.c
@@ -804,7 +804,7 @@ static int __init pci_iommu_init(void)
804 } 804 }
805 805
806 if (no_iommu || 806 if (no_iommu ||
807 (!force_iommu && end_pfn < 0xffffffff>>PAGE_SHIFT) || 807 (!force_iommu && (end_pfn-1) < 0xffffffff>>PAGE_SHIFT) ||
808 !iommu_aperture || 808 !iommu_aperture ||
809 (no_agp && init_k8_gatt(&info) < 0)) { 809 (no_agp && init_k8_gatt(&info) < 0)) {
810 printk(KERN_INFO "PCI-DMA: Disabling IOMMU.\n"); 810 printk(KERN_INFO "PCI-DMA: Disabling IOMMU.\n");