projects
/
platform
/
kernel
/
kernel-mfld-blackbay.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
|
history
diff --git
a/arch/sh/kernel/setup.c
b/arch/sh/kernel/setup.c
index
d67a8a3
..
0800172
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;