From d23cf676d0e9d1fdc066d2dcb7f8bc0e2d4c75bd Mon Sep 17 00:00:00 2001 From: Christoph Lameter Date: Fri, 6 Jul 2007 11:17:32 -0700 Subject: [PATCH] slub: remove useless EXPORT_SYMBOL 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 Cc: Johannes Berg Cc: Benjamin Herrenschmidt Cc: Paul Mackerras Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- mm/slub.c | 1 - 1 file changed, 1 deletion(-) diff --git a/mm/slub.c b/mm/slub.c index 0437f2f09986..e0cf6213abc0 100644 --- a/mm/slub.c +++ b/mm/slub.c @@ -2020,7 +2020,6 @@ static int kmem_cache_open(struct kmem_cache *s, gfp_t gfpflags, s->offset, flags); return 0; } -EXPORT_SYMBOL(kmem_cache_open); /* * Check if a given pointer is valid -- GitLab