diff options
author | Andrew Morton <akpm@osdl.org> | 2006-05-01 10:41:47 +0200 |
---|---|---|
committer | David Woodhouse <dwmw2@infradead.org> | 2006-05-01 10:41:47 +0200 |
commit | aa783a8f31c79f493bd49ba926b171b79b9839fb (patch) | |
tree | ffe2694f91da0edad897df1e03d0014104fcf6df | |
parent | [RBTREE] Update hrtimers to use rb_parent() accessor macro. (diff) | |
download | linux-aa783a8f31c79f493bd49ba926b171b79b9839fb.tar.xz linux-aa783a8f31c79f493bd49ba926b171b79b9839fb.zip |
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>
-rw-r--r-- | arch/um/kernel/physmem.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/um/kernel/physmem.c b/arch/um/kernel/physmem.c index 0500800df1c1..73c741d37af9 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); } |