Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit aa783a8f authored by Andrew Morton's avatar Andrew Morton Committed by David Woodhouse
Browse files

Update UML kernel/physmem.c to use rb_parent() accessor macro

parent ed198cb4
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -69,7 +69,7 @@ static void insert_phys_mapping(struct phys_desc *desc)
		panic("Physical remapping for %p already present",
		      desc->virt);

	rb_link_node(&desc->rb, (*n)->rb_parent, n);
	rb_link_node(&desc->rb, rb_parent(*n), n);
	rb_insert_color(&desc->rb, &phys_mappings);
}