From: Adrian Bunk Date: Wed, 13 Feb 2008 21:30:32 +0000 (+0200) Subject: make slub.c:slab_address() static X-Git-Tag: v2.6.25-rc2~7^2~3 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dada123d99c241d1a45798a7c77bcf99c4968704;p=linux-2.6 make slub.c:slab_address() static slab_address() can become static. Signed-off-by: Adrian Bunk Signed-off-by: Christoph Lameter --- diff --git a/mm/slub.c b/mm/slub.c index 7870ef9d86..1af7f2f194 100644 --- 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; }