From: Tetsuo Handa Date: Wed, 5 Dec 2007 07:45:08 +0000 (-0800) Subject: Add EXPORT_SYMBOL(ksize); X-Git-Tag: v2.6.24-rc5~100 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f8fcc93319faa09272185af100fb24e71b02ab03;p=platform%2Fkernel%2Flinux-stable.git Add EXPORT_SYMBOL(ksize); mm/slub.c exports ksize(), but mm/slob.c and mm/slab.c don't. It's used by binfmt_flat, which can be built as a module. Signed-off-by: Tetsuo Handa Cc: Christoph Lameter Cc: Matt Mackall Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/mm/slab.c b/mm/slab.c index 202465a..2e338a5 100644 --- a/mm/slab.c +++ b/mm/slab.c @@ -4475,3 +4475,4 @@ size_t ksize(const void *objp) return obj_size(virt_to_cache(objp)); } +EXPORT_SYMBOL(ksize); diff --git a/mm/slob.c b/mm/slob.c index 08a9bd9..ee2ef8a 100644 --- a/mm/slob.c +++ b/mm/slob.c @@ -495,6 +495,7 @@ size_t ksize(const void *block) else return sp->page.private; } +EXPORT_SYMBOL(ksize); struct kmem_cache { unsigned int size, align;