When I did an allmodconfig on ppc64 it selected agp although ppc64
doesn't support agp and has not agp.h so the build failed.

This patch makes CONFIG_AGP depend on the architectures that actually
support agp.


--- 1.39/drivers/char/agp/Kconfig       2005-01-08 01:15:52 +01:00
+++ edited/drivers/char/agp/Kconfig     2005-01-16 11:39:56 +01:00
@@ -1,5 +1,6 @@
 config AGP
-       tristate "/dev/agpgart (AGP Support)" if !GART_IOMMU && !M68K && !ARM
+       tristate "/dev/agpgart (AGP Support)" if !GART_IOMMU
+       depends on ALPHA || IA64 || PPC || X86
        default y if GART_IOMMU
        ---help---
          AGP (Accelerated Graphics Port) is a bus system mainly used to
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to