aboutsummaryrefslogtreecommitdiffstats
path: root/mm/slab.c
diff options
context:
space:
mode:
Diffstat (limited to 'mm/slab.c')
-rw-r--r--mm/slab.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/mm/slab.c b/mm/slab.c
index f8b0d539b48..cb6ce2dfc7c 100644
--- a/mm/slab.c
+++ b/mm/slab.c
@@ -517,7 +517,6 @@ static bool slab_max_order_set __initdata;
517 517
518static inline struct kmem_cache *page_get_cache(struct page *page) 518static inline struct kmem_cache *page_get_cache(struct page *page)
519{ 519{
520 page = compound_head(page);
521 BUG_ON(!PageSlab(page)); 520 BUG_ON(!PageSlab(page));
522 return page->slab_cache; 521 return page->slab_cache;
523} 522}