Re: linux-next: Tree for August 25 (mm/slub)

From: Pekka Enberg
Date: Thu Aug 26 2010 - 14:17:54 EST


On 25.8.2010 23.30, Randy Dunlap wrote:
On 08/25/10 12:07, Christoph Lameter wrote:
On Wed, 25 Aug 2010, Randy Dunlap wrote:

mm/slub.c:1732: error: implicit declaration of function 'slab_pre_alloc_hook'
mm/slub.c:1751: error: implicit declaration of function 'slab_post_alloc_hook'
mm/slub.c:1881: error: implicit declaration of function 'slab_free_hook'
mm/slub.c:1886: error: implicit declaration of function 'slab_free_hook_irq'

Empty functions are missing if the runtime debuggability option is
compiled
out.


Subject: slub: Add dummy functions for the !SLUB_DEBUG case

Provide the fall back functions to empty hooks if SLUB_DEBUG is not set.

Signed-off-by: Christoph Lameter<cl@xxxxxxxxx>

Acked-by: Randy Dunlap<randy.dunlap@xxxxxxxxxx>

Applied, thanks!
--
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/