diff options
author | Adrian Bunk <bunk@stusta.de> | 2006-09-26 02:31:02 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-09-26 11:48:45 -0400 |
commit | b221385bc41d6789edde3d2fa0cb20d5045730eb (patch) | |
tree | 93f3317247d587fd011eb9d77cd73a49670d8d5f /mm/slab.c | |
parent | 204ec841fbea3e5138168edbc3a76d46747cc987 (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.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -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 | ||
771 | struct kmem_cache *kmem_find_general_cachep(size_t size, gfp_t gfpflags) | 771 | static 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 | } |
775 | EXPORT_SYMBOL(kmem_find_general_cachep); | ||
776 | 775 | ||
777 | static size_t slab_mgmt_size(size_t nr_objs, size_t align) | 776 | static size_t slab_mgmt_size(size_t nr_objs, size_t align) |
778 | { | 777 | { |