public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] x86-64 build fix
@ 2006-06-22 20:59 Jeff Garzik
  2006-06-22 21:24 ` Andrew Morton
  0 siblings, 1 reply; 11+ messages in thread
From: Jeff Garzik @ 2006-06-22 20:59 UTC (permalink / raw)
  To: Andrew Morton, Linus Torvalds; +Cc: linux-kernel


As of last night, I still needed the Kconfig patch below to
successfully build allmodconfig on x86-64.  I believe Andrew has the
patch with a proper description and attribution, so I would prefer
that he send it...

	Jeff




diff --git a/arch/x86_64/Kconfig b/arch/x86_64/Kconfig
index 408d44a..7d3bc5a 100644
--- a/arch/x86_64/Kconfig
+++ b/arch/x86_64/Kconfig
@@ -389,6 +389,7 @@ config GART_IOMMU
 	bool "K8 GART IOMMU support"
 	default y
 	select SWIOTLB
+	select AGP
 	depends on PCI
 	help
 	  Support for hardware IOMMU in AMD's Opteron/Athlon64 Processors
@@ -401,11 +402,9 @@ config GART_IOMMU
   	  northbridge and a software emulation used on other systems without
 	  hardware IOMMU.  If unsure, say Y.
 
-# need this always enabled with GART_IOMMU for the VIA workaround
+# need this always selected by GART_IOMMU for the VIA workaround
 config SWIOTLB
 	bool
-	default y
-	depends on GART_IOMMU
 
 config X86_MCE
 	bool "Machine check support" if EMBEDDED
diff --git a/drivers/char/agp/Kconfig b/drivers/char/agp/Kconfig
index 7c88c06..46685a5 100644
--- a/drivers/char/agp/Kconfig
+++ b/drivers/char/agp/Kconfig
@@ -1,7 +1,6 @@
 config AGP
-	tristate "/dev/agpgart (AGP Support)" if !GART_IOMMU
+	tristate "/dev/agpgart (AGP Support)"
 	depends on ALPHA || IA64 || PPC || X86
-	default y if GART_IOMMU
 	---help---
 	  AGP (Accelerated Graphics Port) is a bus system mainly used to
 	  connect graphics cards to the rest of the system.

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

end of thread, other threads:[~2006-06-23  0:27 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-06-22 20:59 [PATCH] x86-64 build fix Jeff Garzik
2006-06-22 21:24 ` Andrew Morton
2006-06-22 22:39   ` Andi Kleen
2006-06-22 22:59     ` Andrew Morton
2006-06-22 23:01       ` Dave Jones
2006-06-22 23:28         ` Roman Zippel
2006-06-22 23:37           ` Randy.Dunlap
2006-06-23  0:27             ` Roman Zippel
2006-06-22 23:23       ` Jeff Garzik
2006-06-22 23:35         ` Andi Kleen
2006-06-23  0:23           ` Dave Jones

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