[PATCH 10/11] ST SPEAr: Added default configuration files for SPEAr machines

Russell King - ARM Linux linux at arm.linux.org.uk
Thu Mar 11 15:26:03 EST 2010


On Thu, Mar 11, 2010 at 09:18:40PM +0100, Linus Walleij wrote:
> 2010/3/3 Viresh KUMAR <viresh.kumar at st.com>:
> > (...)
> > +CONFIG_HAVE_GENERIC_DMA_COHERENT=y
> 
> Not specifically related to this defconfig because hundreds of defconfigs
> use this, but HAVE_GENERIC_DMA_COHERENT is not used in anything but
> a few Kconfig files, all just defining it. No single Makefile, #ifdef
> or anything
> else seems to be using this, so what is it for?? I can't find any use even if I
> go back to kernel 2.6.11 on LXR.

Err...

drivers/base/Makefile:obj-$(CONFIG_HAVE_GENERIC_DMA_COHERENT) += dma-coherent.o

include/asm-generic/dma-coherent.h:#ifdef CONFIG_HAVE_GENERIC_DMA_COHERENT




More information about the linux-arm-kernel mailing list