mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-21 03:33:59 +08:00
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
@ -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 New Issue
Block a user