diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2009-02-12 12:56:14 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-02-12 12:56:14 -0500 |
commit | 071a0bc2ceace31266836801510879407a3701fa (patch) | |
tree | 9b52364206229861146e48e299e4e9079b6259d3 /mm | |
parent | 3a4c6800f31ea8395628af5e7e490270ee5d0585 (diff) | |
parent | b1aabecd55931ee754f6a913969516b26a0e682e (diff) |
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/penberg/slab-2.6
* 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/penberg/slab-2.6:
mm: Export symbol ksize()
Diffstat (limited to 'mm')
-rw-r--r-- | mm/slab.c | 1 | ||||
-rw-r--r-- | mm/slob.c | 1 | ||||
-rw-r--r-- | mm/slub.c | 1 |
3 files changed, 3 insertions, 0 deletions
@@ -4457,3 +4457,4 @@ size_t ksize(const void *objp) | |||
4457 | 4457 | ||
4458 | return obj_size(virt_to_cache(objp)); | 4458 | return obj_size(virt_to_cache(objp)); |
4459 | } | 4459 | } |
4460 | EXPORT_SYMBOL(ksize); | ||
@@ -521,6 +521,7 @@ size_t ksize(const void *block) | |||
521 | } else | 521 | } else |
522 | return sp->page.private; | 522 | return sp->page.private; |
523 | } | 523 | } |
524 | EXPORT_SYMBOL(ksize); | ||
524 | 525 | ||
525 | struct kmem_cache { | 526 | struct kmem_cache { |
526 | unsigned int size, align; | 527 | unsigned int size, align; |
@@ -2736,6 +2736,7 @@ size_t ksize(const void *object) | |||
2736 | */ | 2736 | */ |
2737 | return s->size; | 2737 | return s->size; |
2738 | } | 2738 | } |
2739 | EXPORT_SYMBOL(ksize); | ||
2739 | 2740 | ||
2740 | void kfree(const void *x) | 2741 | void kfree(const void *x) |
2741 | { | 2742 | { |