Re: [RFC 1/8] Add CONFIG_ZONE_DMA to all archesM

From: KAMEZAWA Hiroyuki
Date: Sun Jul 09 2006 - 20:53:01 EST


On Fri, 7 Jul 2006 17:05:06 -0700 (PDT)
Christoph Lameter <clameter@xxxxxxx> wrote:
> As a result of this patch CONFIG_ZONE_DMA should be defined for every
> arch.
>
> Signed-off-by: Christoph Lameter <clameter@xxxxxxx>
>
> Index: linux-2.6.17-mm6/mm/Kconfig
> ===================================================================
> --- linux-2.6.17-mm6.orig/mm/Kconfig 2006-07-03 13:47:22.616084772 -0700
> +++ linux-2.6.17-mm6/mm/Kconfig 2006-07-03 21:26:49.956038556 -0700
> @@ -134,6 +134,10 @@ config SPLIT_PTLOCK_CPUS
> default "4096" if PARISC && !PA20
> default "4"
>
> +config ZONE_DMA
> + def_bool y
> + depends on GENERIC_ISA_DMA
> +

How about configuring this by

config ZONE_DMA
def_bool y
depends on GENERIC_ISA_DMA || ARCH_ZONE_DMA

and set ARCH_ZONE_DMA for each arch ?


-Kame

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/