aboutsummaryrefslogtreecommitdiffstats
path: root/mm/slab.c
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@stusta.de>2006-09-26 02:31:02 -0400
committerLinus Torvalds <torvalds@g5.osdl.org>2006-09-26 11:48:45 -0400
commitb221385bc41d6789edde3d2fa0cb20d5045730eb (patch)
tree93f3317247d587fd011eb9d77cd73a49670d8d5f /mm/slab.c
parent204ec841fbea3e5138168edbc3a76d46747cc987 (diff)
[PATCH] mm/: make functions static
This patch makes the following needlessly global functions static: - slab.c: kmem_find_general_cachep() - swap.c: __page_cache_release() - vmalloc.c: __vmalloc_node() Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'mm/slab.c')
-rw-r--r--mm/slab.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/mm/slab.c b/mm/slab.c
index 21ba06035700..5870bcbd33cf 100644
--- a/mm/slab.c
+++ b/mm/slab.c
@@ -768,11 +768,10 @@ static inline struct kmem_cache *__find_general_cachep(size_t size,
768 return csizep->cs_cachep; 768 return csizep->cs_cachep;
769} 769}
770 770
771struct kmem_cache *kmem_find_general_cachep(size_t size, gfp_t gfpflags) 771static struct kmem_cache *kmem_find_general_cachep(size_t size, gfp_t gfpflags)
772{ 772{
773 return __find_general_cachep(size, gfpflags); 773 return __find_general_cachep(size, gfpflags);
774} 774}
775EXPORT_SYMBOL(kmem_find_general_cachep);
776 775
777static size_t slab_mgmt_size(size_t nr_objs, size_t align) 776static size_t slab_mgmt_size(size_t nr_objs, size_t align)
778{ 777{