Skip to content

Commit

Permalink
[AVR32] Drop support for redundant "keepinitrd" boot-time parm.
Browse files Browse the repository at this point in the history
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: Robert P. J. Day <rpjday@mindspring.com>
Signed-off-by: Haavard Skinnemoen <hskinnemoen@atmel.com>
  • Loading branch information
Robert P. J. Day authored and Haavard Skinnemoen committed Oct 11, 2007
1 parent b5a8e73 commit 193fdd1
Showing 1 changed file with 1 addition and 11 deletions.
12 changes: 1 addition & 11 deletions arch/avr32/mm/init.c
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 193fdd1

Please sign in to comment.