aboutsummaryrefslogtreecommitdiffstats
path: root/mm/page_alloc.c
diff options
context:
space:
mode:
Diffstat (limited to 'mm/page_alloc.c')
-rw-r--r--mm/page_alloc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mm/page_alloc.c b/mm/page_alloc.c
index dc8753bdd47e..d539f83c62b6 100644
--- a/mm/page_alloc.c
+++ b/mm/page_alloc.c
@@ -230,7 +230,7 @@ static void prep_compound_page(struct page *page, unsigned long order)
230 int i; 230 int i;
231 int nr_pages = 1 << order; 231 int nr_pages = 1 << order;
232 232
233 page[1].lru.next = (void *)free_compound_page; /* set dtor */ 233 set_compound_page_dtor(page, free_compound_page);
234 page[1].lru.prev = (void *)order; 234 page[1].lru.prev = (void *)order;
235 for (i = 0; i < nr_pages; i++) { 235 for (i = 0; i < nr_pages; i++) {
236 struct page *p = page + i; 236 struct page *p = page + i;