提交 193fdd1a 编写于 作者: R Robert P. J. Day 提交者: Haavard Skinnemoen

[AVR32] Drop support for redundant "keepinitrd" boot-time parm.

Given the existing "retain_initrd" boot-time parameter defined in
init/initramfs.c, there appears to be no need for the equivalent
"keepinitrd" parameter.
Signed-off-by: NRobert P. J. Day <rpjday@mindspring.com>
Signed-off-by: NHaavard Skinnemoen <hskinnemoen@atmel.com>
上级 b5a8e736
......@@ -224,19 +224,9 @@ void free_initmem(void)
#ifdef CONFIG_BLK_DEV_INITRD
static int keep_initrd;
void free_initrd_mem(unsigned long start, unsigned long end)
{
if (!keep_initrd)
free_area(start, end, "initrd");
}
static int __init keepinitrd_setup(char *__unused)
{
keep_initrd = 1;
return 1;
free_area(start, end, "initrd");
}
__setup("keepinitrd", keepinitrd_setup);
#endif
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册