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 d67a8a3..0800172 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;