From ba8fda1fde5cbf9ae7bc4c934f7bfd4e9d78efe8 Mon Sep 17 00:00:00 2001 From: Christoph Lameter Date: Fri, 9 Nov 2007 19:00:30 -0800 Subject: [PATCH] Fix !CONFIG_SLUB_DEBUG Signed-off-by: Christoph Lameter --- mm/slub.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/mm/slub.c b/mm/slub.c index d83db22..15638fb 100644 --- a/mm/slub.c +++ b/mm/slub.c @@ -1013,7 +1013,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