X-Git-Url: http://pileus.org/git/?a=blobdiff_plain;f=mm%2Fksm.c;h=68710e80994afed815c58b59a1a3cf421df8101f;hb=2892505ea170094f982516bb38105eac45f274b1;hp=aa4c7c7250c11a95b9676b70c7cc38f987d88717;hpb=87af5e5c22568201dfbda5cac9c76e96982adc9c;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.