Skip to content

Commit

Permalink
slub: remove useless EXPORT_SYMBOL
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Christoph Lameter authored and Linus Torvalds committed Jul 6, 2007
1 parent c3000e0 commit d23cf67
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion mm/slub.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d23cf67

Please sign in to comment.