From: Christoph Lameter Subject: SLUB: Fix !CONFIG_SLUB_DEBUG Forgot to add a parameter to the !CONFIG_SLUB_DEBUG version of free_debug_processing. This causes a failure if slub is compiled without debug support. Signed-off-by: Christoph Lameter Signed-off-by: Andrew Morton --- mm/slub.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) Index: linux-2.6/mm/slub.c =================================================================== --- linux-2.6.orig/mm/slub.c 2008-01-07 22:48:41.173681120 -0800 +++ linux-2.6/mm/slub.c 2008-01-07 22:49:04.829766799 -0800 @@ -1015,7 +1015,8 @@ static inline int alloc_debug_processing struct page *page, void *object, void *addr) { return 0; } static inline int free_debug_processing(struct kmem_cache *s, - struct page *page, void *object, void *addr) { return 0; } + struct page *page, void *object, void *addr, unsigned long state) + { return 0; } static inline int slab_pad_check(struct kmem_cache *s, struct page *page) { return 1; }