From 1f1908b2cc3d0edc64d8cfc012de326d260aaf45 Mon Sep 17 00:00:00 2001 From: Christoph Lameter Date: Mon, 7 Jan 2008 23:20:30 -0800 Subject: [PATCH] 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 files changed, 2 insertions(+), 1 deletions(-) diff --git a/mm/slub.c b/mm/slub.c index 012abb2..7346163 100644 --- a/mm/slub.c +++ b/mm/slub.c @@ -1015,7 +1015,8 @@ static inline int alloc_debug_processing(struct kmem_cache *s, 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; } -- debian.1.5.3.7.1-dirty