projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a5ec395
)
sh: convert initrd reservation to LMB.
author
Paul Mundt
<lethal@linux-sh.org>
Fri, 7 May 2010 06:10:07 +0000
(15:10 +0900)
committer
Paul Mundt
<lethal@linux-sh.org>
Fri, 7 May 2010 06:10:07 +0000
(15:10 +0900)
This switches over from bootmem -> LMB for the initrd area reservation.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/kernel/setup.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/sh/kernel/setup.c
b/arch/sh/kernel/setup.c
index d67a8a386907cb4c17097cad2142035c30a08a5d..08001729f5eeabc41a46e33352eda65b46eef30c 100644
(file)
--- a/
arch/sh/kernel/setup.c
+++ b/
arch/sh/kernel/setup.c
@@
-192,7
+192,7
@@
static void __init check_for_initrd(void)
initrd_start = (unsigned long)__va(__pa(start));
initrd_end = initrd_start + INITRD_SIZE;
-
reserve_bootmem(__pa(initrd_start), INITRD_SIZE, BOOTMEM_DEFAULT
);
+
lmb_reserve(__pa(initrd_start), INITRD_SIZE
);
return;