From: Russell King - ARM Linux on
On Thu, Mar 11, 2010 at 09:18:40PM +0100, Linus Walleij wrote:
> 2010/3/3 Viresh KUMAR <viresh.kumar(a)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

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