aboutsummaryrefslogtreecommitdiffstats
path: root/mm/slub.c
diff options
context:
space:
mode:
Diffstat (limited to 'mm/slub.c')
-rw-r--r--mm/slub.c2
1 files changed, 1 insertions, 1 deletions
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)
308 return (unsigned long)addr & PAGE_MAPPING_ANON; 308 return (unsigned long)addr & PAGE_MAPPING_ANON;
309} 309}
310 310
311void *slab_address(struct page *page) 311static void *slab_address(struct page *page)
312{ 312{
313 return page->end - PAGE_MAPPING_ANON; 313 return page->end - PAGE_MAPPING_ANON;
314} 314}