mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-05 22:28:00 +00:00
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
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue