slub: Reduce #ifdef ZONE_DMA by moving kmalloc_caches_dma near dma logic
commit4097d6017576a5e138f442f5e3c393ad00d10f58
authorChristoph Lameter <clameter@sgi.com>
Mon, 14 Apr 2008 15:51:18 +0000 (14 18:51 +0300)
committerPekka Enberg <penberg@cs.helsinki.fi>
Mon, 14 Apr 2008 15:51:18 +0000 (14 18:51 +0300)
tree1c9f90fa4ec806ff0d91f25883158b86e46b62ec
parent62f75532b583c03840f31e40386ce2df73be9ca0
slub: Reduce #ifdef ZONE_DMA by moving kmalloc_caches_dma near dma logic

Move the definition of kmalloc_caches_dma() into a later #ifdef CONFIG_ZONE_DMA.
This saves one #ifdef and leaves us with a total of two #ifdefs for dma slab support.

Signed-off-by: Christoph Lameter <clameter@sgi.com>
Signed-off-by: Pekka Enberg <penberg@cs.helsinki.fi>
mm/slub.c