X-Git-Url: http://git.monstr.eu/?a=blobdiff_plain;f=mm%2Fswap.c;h=0092097b3f4ce5e22844759a9e264ef143d05c7c;hb=243b930f8b228428c2a14ebbb09045041ed0bc70;hp=b31ba67d440ac997a05de372e831046bf98d9070;hpb=f743166da7e93b617dd93120cdb5edcc8b84c464;p=linux-2.6-microblaze.git diff --git a/mm/swap.c b/mm/swap.c index b31ba67d440a..0092097b3f4c 100644 --- a/mm/swap.c +++ b/mm/swap.c @@ -98,7 +98,7 @@ static void put_compound_page(struct page *page) } /* __split_huge_page_refcount can run under us */ - page_head = compound_trans_head(page); + page_head = compound_head(page); /* * THP can not break up slab pages so avoid taking @@ -253,7 +253,7 @@ bool __get_page_tail(struct page *page) */ unsigned long flags; bool got; - struct page *page_head = compound_trans_head(page); + struct page *page_head = compound_head(page); /* Ref to put_compound_page() comment. */ if (!__compound_tail_refcounted(page_head)) {