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>
This commit is contained in:
parent
a5ec395071
commit
36fa06d6b5
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue