Commit f8fcc933 authored by Tetsuo Handa's avatar Tetsuo Handa Committed by Linus Torvalds

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: default avatarTetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>
Cc: Christoph Lameter <clameter@sgi.com>
Cc: Matt Mackall <mpm@selenic.com>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 4b01a0b1
...@@ -4475,3 +4475,4 @@ size_t ksize(const void *objp) ...@@ -4475,3 +4475,4 @@ size_t ksize(const void *objp)
return obj_size(virt_to_cache(objp)); return obj_size(virt_to_cache(objp));
} }
EXPORT_SYMBOL(ksize);
...@@ -495,6 +495,7 @@ size_t ksize(const void *block) ...@@ -495,6 +495,7 @@ size_t ksize(const void *block)
else else
return sp->page.private; return sp->page.private;
} }
EXPORT_SYMBOL(ksize);
struct kmem_cache { struct kmem_cache {
unsigned int size, align; unsigned int size, align;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment