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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 7 Jul 2006 17:05:06 -0700 (PDT)
Christoph Lameter <[email protected]> wrote:
> As a result of this patch CONFIG_ZONE_DMA should be defined for every
> arch.
> 
> Signed-off-by: Christoph Lameter <[email protected]>
> 
> 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 [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux