mm: make the vma list be doubly linked
[pandora-kernel.git] / include / linux / mm_types.h
index b8bb9a6..ee7e258 100644 (file)
@@ -134,7 +134,7 @@ struct vm_area_struct {
                                           within vm_mm. */
 
        /* linked list of VM areas per task, sorted by address */
-       struct vm_area_struct *vm_next;
+       struct vm_area_struct *vm_next, *vm_prev;
 
        pgprot_t vm_page_prot;          /* Access permissions of this VMA. */
        unsigned long vm_flags;         /* Flags, see mm.h. */