Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

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
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;