[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>
This commit is contained in:
Adrian Bunk 2006-09-25 23:31:02 -07:00 committed by Linus Torvalds
parent 204ec841fb
commit b221385bc4
6 changed files with 25 additions and 31 deletions

View file

@ -318,8 +318,6 @@ static inline int get_page_unless_zero(struct page *page)
return atomic_inc_not_zero(&page->_count);
}
extern void FASTCALL(__page_cache_release(struct page *));
static inline int page_count(struct page *page)
{
if (unlikely(PageCompound(page)))