projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ed198cb
)
Update UML kernel/physmem.c to use rb_parent() accessor macro
author
Andrew Morton
<akpm@osdl.org>
Mon, 1 May 2006 08:41:47 +0000
(09:41 +0100)
committer
David 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
patch
|
blob
|
blame
|
history
diff --git
a/arch/um/kernel/physmem.c
b/arch/um/kernel/physmem.c
index 0500800df1c130f4c239282f8c624a26ac63d355..73c741d37af95aef1eeee5e3b808e428ca468f27 100644
(file)
--- 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);
}