]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commit
slub: Fix build error in kmem_cache_open() with !CONFIG_SLUB_DEBUG
authorIngo Molnar <mingo@elte.hu>
Tue, 15 Sep 2009 09:00:26 +0000 (11:00 +0200)
committerPekka Enberg <penberg@cs.helsinki.fi>
Tue, 15 Sep 2009 19:32:10 +0000 (22:32 +0300)
commitfdaa45e95d2ef59a140d2fb2e487141f83f5a07c
tree262f543514ab9366de694fc66f65533fd242a37e
parent0cb583fd2862f19ea88b02eb307d11c09e51e2f8
slub: Fix build error in kmem_cache_open() with !CONFIG_SLUB_DEBUG

This build bug:

 mm/slub.c: In function 'kmem_cache_open':
 mm/slub.c:2476: error: 'disable_higher_order_debug' undeclared (first use in this function)
 mm/slub.c:2476: error: (Each undeclared identifier is reported only once
 mm/slub.c:2476: error: for each function it appears in.)

Triggers because there's no !CONFIG_SLUB_DEBUG definition for
disable_higher_order_debug.

Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Pekka Enberg <penberg@cs.helsinki.fi>
mm/slub.c