From bunk@kernel.org Wed Feb 13 13:30:53 2008 Date: Wed, 13 Feb 2008 23:30:32 +0200 From: Adrian Bunk To: clameter@sgi.com, penberg@cs.helsinki.fi Cc: linux-mm@kvack.org, linux-kernel@vger.kernel.org Subject: [2.6 patch] make slub.c:slab_address() static slab_address() can become static. Signed-off-by: Adrian Bunk --- fdd710f00d8bed8413c160685bc5229ec15b4d9f diff --git a/mm/slub.c b/mm/slub.c index e2989ae..af83daf 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; }