diff options
-rw-r--r-- | arch/avr32/mm/init.c | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/arch/avr32/mm/init.c b/arch/avr32/mm/init.c index 82cf70854b90..480760bde63f 100644 --- a/arch/avr32/mm/init.c +++ b/arch/avr32/mm/init.c | |||
@@ -224,19 +224,9 @@ void free_initmem(void) | |||
224 | 224 | ||
225 | #ifdef CONFIG_BLK_DEV_INITRD | 225 | #ifdef CONFIG_BLK_DEV_INITRD |
226 | 226 | ||
227 | static int keep_initrd; | ||
228 | |||
229 | void free_initrd_mem(unsigned long start, unsigned long end) | 227 | void free_initrd_mem(unsigned long start, unsigned long end) |
230 | { | 228 | { |
231 | if (!keep_initrd) | 229 | free_area(start, end, "initrd"); |
232 | free_area(start, end, "initrd"); | ||
233 | } | ||
234 | |||
235 | static int __init keepinitrd_setup(char *__unused) | ||
236 | { | ||
237 | keep_initrd = 1; | ||
238 | return 1; | ||
239 | } | 230 | } |
240 | 231 | ||
241 | __setup("keepinitrd", keepinitrd_setup); | ||
242 | #endif | 232 | #endif |