Update UML kernel/physmem.c to use rb_parent() accessor macro
Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: David Woodhouse <dwmw2@infradead.org>
This commit is contained in:
parent
ed198cb497
commit
aa783a8f31
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue