diff options
Diffstat (limited to 'arch/um/kernel/physmem.c')
-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 fc0f0b085ca7..166cb09cae4c 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) | |||
69 | panic("Physical remapping for %p already present", | 69 | panic("Physical remapping for %p already present", |
70 | desc->virt); | 70 | desc->virt); |
71 | 71 | ||
72 | rb_link_node(&desc->rb, (*n)->rb_parent, n); | 72 | rb_link_node(&desc->rb, rb_parent(*n), n); |
73 | rb_insert_color(&desc->rb, &phys_mappings); | 73 | rb_insert_color(&desc->rb, &phys_mappings); |
74 | } | 74 | } |
75 | 75 | ||