Subject: remove anon-vma changes From: Andrea Arcangeli Return to the 2.6.33 code. Signed-off-by: Andrea Arcangeli --- diff --git a/mm/huge_memory.c b/mm/huge_memory.c --- a/mm/huge_memory.c +++ b/mm/huge_memory.c @@ -791,14 +791,13 @@ static void __split_huge_page(struct pag struct anon_vma *anon_vma) { int mapcount, mapcount2; - struct anon_vma_chain *avc; + struct vm_area_struct *vma; BUG_ON(!PageHead(page)); BUG_ON(PageTail(page)); mapcount = 0; - list_for_each_entry(avc, &anon_vma->head, same_anon_vma) { - struct vm_area_struct *vma = avc->vma; + list_for_each_entry(vma, &anon_vma->head, anon_vma_node) { unsigned long addr = vma_address(page, vma); if (addr == -EFAULT) continue; @@ -809,8 +808,7 @@ static void __split_huge_page(struct pag __split_huge_page_refcount(page); mapcount2 = 0; - list_for_each_entry(avc, &anon_vma->head, same_anon_vma) { - struct vm_area_struct *vma = avc->vma; + list_for_each_entry(vma, &anon_vma->head, anon_vma_node) { unsigned long addr = vma_address(page, vma); if (addr == -EFAULT) continue;