aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sh
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2010-05-07 02:10:07 -0400
committerPaul Mundt <lethal@linux-sh.org>2010-05-07 02:10:07 -0400
commit36fa06d6b5ef1874d012c04b23d5b8982b1f8dea (patch)
treef56bd023231ff45e7a556dc4ab7f7758eddf9515 /arch/sh
parenta5ec39507129a086d8838228ac1ca0a2eab38f91 (diff)
sh: convert initrd reservation to LMB.
This switches over from bootmem -> LMB for the initrd area reservation. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh')
-rw-r--r--arch/sh/kernel/setup.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/sh/kernel/setup.c b/arch/sh/kernel/setup.c
index d67a8a386907..08001729f5ee 100644
--- a/arch/sh/kernel/setup.c
+++ b/arch/sh/kernel/setup.c
@@ -192,7 +192,7 @@ static void __init check_for_initrd(void)
192 initrd_start = (unsigned long)__va(__pa(start)); 192 initrd_start = (unsigned long)__va(__pa(start));
193 initrd_end = initrd_start + INITRD_SIZE; 193 initrd_end = initrd_start + INITRD_SIZE;
194 194
195 reserve_bootmem(__pa(initrd_start), INITRD_SIZE, BOOTMEM_DEFAULT); 195 lmb_reserve(__pa(initrd_start), INITRD_SIZE);
196 196
197 return; 197 return;
198 198