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:
Родитель
ed198cb497
Коммит
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);
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче