make slub.c:slab_address() static
slab_address() can become static. Signed-off-by: Adrian Bunk <bunk@kernel.org> Signed-off-by: Christoph Lameter <clameter@sgi.com>
This commit is contained in:
parent
eada35efcb
commit
dada123d99
|
@ -308,7 +308,7 @@ static inline int is_end(void *addr)
|
||||||
return (unsigned long)addr & PAGE_MAPPING_ANON;
|
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;
|
return page->end - PAGE_MAPPING_ANON;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue