提交 823900cd 编写于 作者: A Anup Patel 提交者: Anup Patel

RISC-V: Free-up initrd in free_initrd_mem()

We should free-up initrd memory in free_initrd_mem() instead
of doing nothing.
Signed-off-by: NAnup Patel <anup.patel@wdc.com>
Reviewed-by: NMike Rapoport <rppt@linux.ibm.com>
上级 f2c17aab
......@@ -94,8 +94,9 @@ static void __init setup_initrd(void)
initrd_end = 0;
}
void free_initrd_mem(unsigned long start, unsigned long end)
void __init free_initrd_mem(unsigned long start, unsigned long end)
{
free_reserved_area((void *)start, (void *)end, -1, "initrd");
}
#endif /* CONFIG_BLK_DEV_INITRD */
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册