public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [MICROPATCH] Make x86_64 build work without GART_IOMMU
@ 2004-04-30 19:57 Jonathan Corbet
  0 siblings, 0 replies; 8+ messages in thread
From: Jonathan Corbet @ 2004-04-30 19:57 UTC (permalink / raw)
  To: linux-kernel; +Cc: ak

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

--- 2.6.6-rc3-slab/arch/x86_64/kernel/pci-nommu.c.orig	2004-02-06 00:51:20.000000000 -0700
+++ 2.6.6-rc3-slab/arch/x86_64/kernel/pci-nommu.c	2004-04-30 13:40:35.000000000 -0600
@@ -5,6 +5,7 @@
 #include <asm/proto.h>
 
 int iommu_merge = 0;
+dma_addr_t bad_dma_address;
 
 /* 
  * Dummy IO MMU functions

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2004-05-03 16:34 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <1QMlc-5kS-39@gated-at.bofh.it>
2004-04-30 21:00 ` [MICROPATCH] Make x86_64 build work without GART_IOMMU Andi Kleen
2004-04-30 21:40   ` Jonathan Corbet
2004-04-30 22:07     ` Andi Kleen
2004-05-03 15:09       ` Jonathan Corbet
2004-05-03 16:23         ` Roland Dreier
2004-05-03 16:33         ` Andi Kleen
2004-04-30 22:08     ` Andrew Morton
2004-04-30 19:57 Jonathan Corbet

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox