summaryrefslogtreecommitdiff
path: root/include/linux/mm.h
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@stusta.de>2006-09-26 10:31:02 +0400
committerLinus Torvalds <torvalds@g5.osdl.org>2006-09-26 19:48:45 +0400
commitb221385bc41d6789edde3d2fa0cb20d5045730eb (patch)
tree93f3317247d587fd011eb9d77cd73a49670d8d5f /include/linux/mm.h
parent204ec841fbea3e5138168edbc3a76d46747cc987 (diff)
downloadlinux-b221385bc41d6789edde3d2fa0cb20d5045730eb.tar.xz
[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 'include/linux/mm.h')
-rw-r--r--include/linux/mm.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/linux/mm.h b/include/linux/mm.h
index 449841413cf1..45678b036955 100644
--- a/include/linux/mm.h
+++ b/include/linux/mm.h
@@ -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)))