]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
mm: Restore rb_node to vm_region.
authorLiam R. Howlett <Liam.Howlett@Oracle.com>
Tue, 23 Feb 2021 15:52:01 +0000 (10:52 -0500)
committerLiam R. Howlett <Liam.Howlett@Oracle.com>
Tue, 23 Feb 2021 15:52:01 +0000 (10:52 -0500)
nommu uses the rb tree for overlapped shared regions

Signed-off-by: Liam R. Howlett <Liam.Howlett@Oracle.com>
include/linux/mm_types.h

index 626e2843d0920f93ef5ccb3910246c5c14e87ca3..fafd292c0c8e4f2905b2e4b1a2ec93827e2ec51e 100644 (file)
@@ -272,6 +272,7 @@ typedef unsigned long vm_flags_t;
  * map parts of them.
  */
 struct vm_region {
+       struct rb_node  vm_rb;          /* link in global region tree */
        vm_flags_t      vm_flags;       /* VMA vm_flags */
        unsigned long   vm_start;       /* start address of region */
        unsigned long   vm_end;         /* region initialised to here */