diff options
Diffstat (limited to 'arch/sh')
-rw-r--r-- | arch/sh/mm/init.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/sh/mm/init.c b/arch/sh/mm/init.c index b892a9b7d7e3..d3af56b7a098 100644 --- a/arch/sh/mm/init.c +++ b/arch/sh/mm/init.c | |||
@@ -499,13 +499,13 @@ void __init mem_init(void) | |||
499 | 499 | ||
500 | void free_initmem(void) | 500 | void free_initmem(void) |
501 | { | 501 | { |
502 | free_initmem_default(0); | 502 | free_initmem_default(-1); |
503 | } | 503 | } |
504 | 504 | ||
505 | #ifdef CONFIG_BLK_DEV_INITRD | 505 | #ifdef CONFIG_BLK_DEV_INITRD |
506 | void free_initrd_mem(unsigned long start, unsigned long end) | 506 | void free_initrd_mem(unsigned long start, unsigned long end) |
507 | { | 507 | { |
508 | free_reserved_area((void *)start, (void *)end, 0, "initrd"); | 508 | free_reserved_area((void *)start, (void *)end, -1, "initrd"); |
509 | } | 509 | } |
510 | #endif | 510 | #endif |
511 | 511 | ||