Re: [patch 4/6] slub: avoid compiling SLAB_CACHE_DMA without DMAsupport

From: Christoph Lameter
Date: Wed May 25 2011 - 10:58:23 EST


On Tue, 24 May 2011, David Rientjes wrote:

> If CONFIG_ZONE_DMA is disabled, SLAB_CACHE_DMA is a no-op. Avoid
> compiling support for it on such a configuration.

Setting SLAB_CACHE_DMA to zero in the !ZONE_DMA case could avoid some of
the ifdeffery.

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