From: Andrew Morton Date: Mon, 1 May 2006 08:41:47 +0000 (+0100) Subject: Update UML kernel/physmem.c to use rb_parent() accessor macro X-Git-Tag: v2.6.18-rc1~1104^2~1 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=aa783a8f31c79f493bd49ba926b171b79b9839fb;p=linux-2.6 Update UML kernel/physmem.c to use rb_parent() accessor macro Signed-off-by: Andrew Morton Signed-off-by: David Woodhouse --- diff --git a/arch/um/kernel/physmem.c b/arch/um/kernel/physmem.c index 0500800df1..73c741d37a 100644 --- a/arch/um/kernel/physmem.c +++ b/arch/um/kernel/physmem.c @@ -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); }