提交 36fa06d6 编写于 作者: P Paul Mundt

sh: convert initrd reservation to LMB.

This switches over from bootmem -> LMB for the initrd area reservation.
Signed-off-by: NPaul Mundt <lethal@linux-sh.org>
上级 a5ec3950
......@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册
新手
引导
客服 返回
顶部