]> err.no Git - linux-2.6/commitdiff
mm: unexport ksize
authorAdrian Bunk <bunk@kernel.org>
Tue, 22 Jul 2008 17:21:16 +0000 (20:21 +0300)
committerPekka Enberg <penberg@cs.helsinki.fi>
Tue, 29 Jul 2008 20:44:26 +0000 (23:44 +0300)
This patch removes the obsolete and no longer used exports of ksize.

Signed-off-by: Adrian Bunk <bunk@kernel.org>
Signed-off-by: Pekka Enberg <penberg@cs.helsinki.fi>
mm/slab.c
mm/slob.c
mm/slub.c

index 918f04f7fef1a3b8a19bd4fdbbb1f407fecec90d..e76eee46688619bd65c110f934cab134dd698e27 100644 (file)
--- a/mm/slab.c
+++ b/mm/slab.c
@@ -4472,4 +4472,3 @@ size_t ksize(const void *objp)
 
        return obj_size(virt_to_cache(objp));
 }
-EXPORT_SYMBOL(ksize);
index d8fbd4d1bfa7e6fee9d538929349a0efd4740ca8..4c82dd41f32eae2ff2274f3d2b1d78e8e45fbb43 100644 (file)
--- a/mm/slob.c
+++ b/mm/slob.c
@@ -519,7 +519,6 @@ size_t ksize(const void *block)
        else
                return sp->page.private;
 }
-EXPORT_SYMBOL(ksize);
 
 struct kmem_cache {
        unsigned int size, align;
index b7e2cd5d82dbd34577962e56d436dd94bd455b64..c26d4c36fba9bbafde6d258aa84d3e3f284dc33a 100644 (file)
--- a/mm/slub.c
+++ b/mm/slub.c
@@ -2715,7 +2715,6 @@ size_t ksize(const void *object)
         */
        return s->size;
 }
-EXPORT_SYMBOL(ksize);
 
 void kfree(const void *x)
 {