slub: remove useless EXPORT_SYMBOL
authorChristoph Lameter <clameter@sgi.com>
Fri, 6 Jul 2007 18:17:32 +0000 (11:17 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Fri, 6 Jul 2007 18:45:11 +0000 (11:45 -0700)
kmem_cache_open is static. EXPORT_SYMBOL was leftover from some earlier
time period where kmem_cache_open was usable outside of slub.

(Fixes powerpc build error)

Signed-off-by: Chrsitoph Lameter <clameter@sgi.com>
Cc: Johannes Berg <johannes@sipsolutions.net>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: Paul Mackerras <paulus@samba.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/slub.c

index 0437f2f09986beb793b53d22daf5ee6d683eeb57..e0cf6213abc0fcfcd403c5d9ad0da079ad2214f9 100644 (file)
--- a/mm/slub.c
+++ b/mm/slub.c
@@ -2020,7 +2020,6 @@ error:
                        s->offset, flags);
        return 0;
 }
-EXPORT_SYMBOL(kmem_cache_open);
 
 /*
  * Check if a given pointer is valid