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

From: KAMEZAWA Hiroyuki
Date: Tue Jul 11 2006 - 03:08:41 EST


On Mon, 10 Jul 2006 08:56:50 -0700 (PDT)
Christoph Lameter <clameter@xxxxxxx> wrote:

> On Mon, 10 Jul 2006, KAMEZAWA Hiroyuki wrote:
>
> >
> > 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 ?
>
> Yes we do something like that in a later patch. What would be the
> advantage of having CONFIG_ARCH_ZONE_DMA instead of CONFIG_ZONE_DMA?
>
I think it's a bit complicated that both (generic)mm/Kconfig and arch/???/Kconfg
has the same config option. I think there are 2 ways..

1. remove CONFIG_ZONE_DMA from mm/Kconfig and move all to under arch/
2. define ARCH_ZONE_DMA under /arch and unite them in mm/Kconfig by
CONFIG_ZONE_DMA


-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/