Make x86_64 build work without GART_IOMMU
If you try to build a 2.6.6-rc3 kernel with CONFIG_GART_IOMMU turned off, the link fails because bad_dma_address is undefined. This little hack just defines the variable in pci-nommu.c as well. It may not be an optimal fix, but it does make the kernel build.
Why do I care? My Radeon 9200SE goes nuts if I build a GART-enabled kernel. Haven't figured out why...
jon
arch/x86_64/kernel/pci-nommu.c renamed from arch/x86_64/kernel/pci-nommu.c.orig +1 -0
@@ -5,6 +5,7 @@#include <asm/proto.h> int iommu_merge =0 ; +dma_addr_t bad_dma_address;/* * Dummy IO MMU functions