diff options
author | Fabian Frederick <fabf@skynet.be> | 2015-04-14 18:44:34 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2015-04-14 19:48:59 -0400 |
commit | c21a6daf466a7bfa7bc2ac594837a1ce793a7960 (patch) | |
tree | 5072abc454e693e68d44f705ae8897f0ce7e9fc5 /mm/slob.c | |
parent | 6f6528a1632cb9661a2ff46e217b07d84a80eff6 (diff) |
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: Fabian Frederick <fabf@skynet.be>
Cc: Christoph Lameter <cl@linux.com>
Cc: Pekka Enberg <penberg@kernel.org>
Cc: David Rientjes <rientjes@google.com>
Cc: Joonsoo Kim <iamjoonsoo.kim@lge.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/slob.c')
-rw-r--r-- | mm/slob.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -532,7 +532,7 @@ int __kmem_cache_create(struct kmem_cache *c, unsigned long flags) | |||
532 | return 0; | 532 | return 0; |
533 | } | 533 | } |
534 | 534 | ||
535 | void *slob_alloc_node(struct kmem_cache *c, gfp_t flags, int node) | 535 | static void *slob_alloc_node(struct kmem_cache *c, gfp_t flags, int node) |
536 | { | 536 | { |
537 | void *b; | 537 | void *b; |
538 | 538 | ||
@@ -558,7 +558,6 @@ void *slob_alloc_node(struct kmem_cache *c, gfp_t flags, int node) | |||
558 | kmemleak_alloc_recursive(b, c->size, 1, c->flags, flags); | 558 | kmemleak_alloc_recursive(b, c->size, 1, c->flags, flags); |
559 | return b; | 559 | return b; |
560 | } | 560 | } |
561 | EXPORT_SYMBOL(slob_alloc_node); | ||
562 | 561 | ||
563 | void *kmem_cache_alloc(struct kmem_cache *cachep, gfp_t flags) | 562 | void *kmem_cache_alloc(struct kmem_cache *cachep, gfp_t flags) |
564 | { | 563 | { |