]> git.karo-electronics.de Git - linux-beck.git/commitdiff
sh: convert initrd reservation to LMB.
authorPaul Mundt <lethal@linux-sh.org>
Fri, 7 May 2010 06:10:07 +0000 (15:10 +0900)
committerPaul 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

index d67a8a386907cb4c17097cad2142035c30a08a5d..08001729f5eeabc41a46e33352eda65b46eef30c 100644 (file)
@@ -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;