X-Git-Url: http://pileus.org/git/?a=blobdiff_plain;f=mm%2Fksm.c;h=68710e80994afed815c58b59a1a3cf421df8101f;hb=HEAD;hp=aa4c7c7250c11a95b9676b70c7cc38f987d88717;hpb=c2288d4d3830946d91ae7aba599d34828d07f103;p=~andy%2Flinux diff --git a/mm/ksm.c b/mm/ksm.c index aa4c7c7250c..68710e80994 100644 --- a/mm/ksm.c +++ b/mm/ksm.c @@ -444,7 +444,7 @@ static void break_cow(struct rmap_item *rmap_item) static struct page *page_trans_compound_anon(struct page *page) { if (PageTransCompound(page)) { - struct page *head = compound_trans_head(page); + struct page *head = compound_head(page); /* * head may actually be splitted and freed from under * us but it's ok here.