Commit 36fa06d6 authored by Paul Mundt's avatar Paul Mundt

sh: convert initrd reservation to LMB.

This switches over from bootmem -> LMB for the initrd area reservation.
Signed-off-by: default avatarPaul Mundt <lethal@linux-sh.org>
parent a5ec3950
...@@ -192,7 +192,7 @@ static void __init check_for_initrd(void) ...@@ -192,7 +192,7 @@ static void __init check_for_initrd(void)
initrd_start = (unsigned long)__va(__pa(start)); initrd_start = (unsigned long)__va(__pa(start));
initrd_end = initrd_start + INITRD_SIZE; initrd_end = initrd_start + INITRD_SIZE;
reserve_bootmem(__pa(initrd_start), INITRD_SIZE, BOOTMEM_DEFAULT); lmb_reserve(__pa(initrd_start), INITRD_SIZE);
return; return;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment