make slub.c:slab_address() static
authorAdrian Bunk <bunk@kernel.org>
Wed, 13 Feb 2008 21:30:32 +0000 (23:30 +0200)
committerChristoph Lameter <christoph@stapp.engr.sgi.com>
Thu, 14 Feb 2008 23:30:01 +0000 (15:30 -0800)
slab_address() can become static.

Signed-off-by: Adrian Bunk <bunk@kernel.org>
Signed-off-by: Christoph Lameter <clameter@sgi.com>
mm/slub.c

index 7870ef9d86361c04df5d860dd1b9bf800b5fc4e8..1af7f2f194201a8d1b4f720969bde3a1eb21ce8b 100644 (file)
--- a/mm/slub.c
+++ b/mm/slub.c
@@ -308,7 +308,7 @@ static inline int is_end(void *addr)
        return (unsigned long)addr & PAGE_MAPPING_ANON;
 }
 
-void *slab_address(struct page *page)
+static void *slab_address(struct page *page)
 {
        return page->end - PAGE_MAPPING_ANON;
 }