--- linux-2.6.5-gentoo/arch/x86_64/kernel/io_apic.c.dist 2004-04-09 17:18:36.000000000 +0100 +++ linux-2.6.5-gentoo/arch/x86_64/kernel/io_apic.c 2004-04-10 15:32:26.380122435 +0100 @@ -250,12 +250,14 @@ vendor &= 0xffff; switch (vendor) { case PCI_VENDOR_ID_VIA: +#ifdef CONFIG_GART_IOMMU if (end_pfn >= (0xffffffff>>PAGE_SHIFT) && !iommu_aperture_allowed) { printk(KERN_INFO "Looks like a VIA chipset. Disabling IOMMU. Overwrite with \"iommu=allowed\"\n"); iommu_aperture_disabled = 1; } +#endif /* FALL THROUGH */ case PCI_VENDOR_ID_NVIDIA: #ifndef CONFIG_SMP