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

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

Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarDavid Woodhouse <dwmw2@infradead.org>
parent ed198cb4
...@@ -69,7 +69,7 @@ static void insert_phys_mapping(struct phys_desc *desc) ...@@ -69,7 +69,7 @@ static void insert_phys_mapping(struct phys_desc *desc)
panic("Physical remapping for %p already present", panic("Physical remapping for %p already present",
desc->virt); 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); rb_insert_color(&desc->rb, &phys_mappings);
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment