]> git.baikalelectronics.ru Git - kernel.git/commit
slub: Avoid warning for !CONFIG_SLUB_DEBUG
authorChristoph Lameter <cl@linux.com>
Mon, 16 May 2011 20:26:06 +0000 (15:26 -0500)
committerPekka Enberg <penberg@kernel.org>
Tue, 17 May 2011 19:16:08 +0000 (22:16 +0300)
commit296f128e21968a8a95a7316aba9e02130c207a7a
tree6b931efc6453812784948ab33a0e0aa123f689c1
parent622782ba5b55975cd14d7d80a3668234962e3e97
slub: Avoid warning for !CONFIG_SLUB_DEBUG

Move the #ifdef so that get_map is only defined if CONFIG_SLUB_DEBUG is defined.

Reported-by: David Rientjes <rientjes@google.com>
Signed-off-by: Christoph Lameter <cl@linux.com>
Signed-off-by: Pekka Enberg <penberg@kernel.org>
mm/slub.c