Commit c21a6daf authored by Fabian Frederick's avatar Fabian Frederick Committed by Linus Torvalds
Browse files

slob: make slob_alloc_node() static and remove EXPORT_SYMBOL()

slob_alloc_node() is only used in slob.c.  Remove the EXPORT_SYMBOL and
make slob_alloc_node() static.
Signed-off-by: default avatarFabian Frederick <>
Cc: Christoph Lameter <>
Cc: Pekka Enberg <>
Cc: David Rientjes <>
Cc: Joonsoo Kim <>
Signed-off-by: default avatarAndrew Morton <>
Signed-off-by: default avatarLinus Torvalds <>
parent 6f6528a1
......@@ -532,7 +532,7 @@ int __kmem_cache_create(struct kmem_cache *c, unsigned long flags)
return 0;
void *slob_alloc_node(struct kmem_cache *c, gfp_t flags, int node)
static void *slob_alloc_node(struct kmem_cache *c, gfp_t flags, int node)
void *b;
......@@ -558,7 +558,6 @@ void *slob_alloc_node(struct kmem_cache *c, gfp_t flags, int node)
kmemleak_alloc_recursive(b, c->size, 1, c->flags, flags);
return b;
void *kmem_cache_alloc(struct kmem_cache *cachep, gfp_t flags)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment