]> pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
Update UML kernel/physmem.c to use rb_parent() accessor macro
authorAndrew Morton <akpm@osdl.org>
Mon, 1 May 2006 08:41:47 +0000 (09:41 +0100)
committerDavid Woodhouse <dwmw2@infradead.org>
Mon, 1 May 2006 08:41:47 +0000 (09:41 +0100)
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
arch/um/kernel/physmem.c

index 0500800df1c130f4c239282f8c624a26ac63d355..73c741d37af95aef1eeee5e3b808e428ca468f27 100644 (file)
@@ -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);
 }