slub: Rearrange #ifdef CONFIG_SLUB_DEBUG in calculate_sizes()
authorChristoph Lameter <clameter@sgi.com>
Sat, 16 Feb 2008 07:45:25 +0000 (23:45 -0800)
committerChristoph Lameter <clameter@sgi.com>
Mon, 3 Mar 2008 20:22:31 +0000 (12:22 -0800)
commitd8b42bf54be18b5d0bad941b3a1d3e8f022651a7
tree50c43281c981a82f0f1742fcc84919e35270e9f8
parentae20bfda6813387af18c7fdbc0f8b1fa7be2d05b
slub: Rearrange #ifdef CONFIG_SLUB_DEBUG in calculate_sizes()

Group SLUB_DEBUG code together to reduce the number of #ifdefs. Move some
debug checks under the #ifdef.

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