From: Adrian Bunk Date: Wed, 13 Feb 2008 21:30:32 +0000 (+0200) Subject: make slub.c:slab_address() static X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=dada123d99c241d1a45798a7c77bcf99c4968704;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git 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 7870ef9d8636..1af7f2f19420 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; }