diff options
Diffstat (limited to 'arch/h8300')
-rw-r--r-- | arch/h8300/mm/init.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/h8300/mm/init.c b/arch/h8300/mm/init.c index 57e03c59861d..c831f1dba132 100644 --- a/arch/h8300/mm/init.c +++ b/arch/h8300/mm/init.c | |||
@@ -161,7 +161,7 @@ void __init mem_init(void) | |||
161 | #ifdef CONFIG_BLK_DEV_INITRD | 161 | #ifdef CONFIG_BLK_DEV_INITRD |
162 | void free_initrd_mem(unsigned long start, unsigned long end) | 162 | void free_initrd_mem(unsigned long start, unsigned long end) |
163 | { | 163 | { |
164 | free_reserved_area((void *)start, (void *)end, 0, "initrd"); | 164 | free_reserved_area((void *)start, (void *)end, -1, "initrd"); |
165 | } | 165 | } |
166 | #endif | 166 | #endif |
167 | 167 | ||
@@ -169,7 +169,7 @@ void | |||
169 | free_initmem(void) | 169 | free_initmem(void) |
170 | { | 170 | { |
171 | #ifdef CONFIG_RAMKERNEL | 171 | #ifdef CONFIG_RAMKERNEL |
172 | free_initmem_default(0); | 172 | free_initmem_default(-1); |
173 | #endif | 173 | #endif |
174 | } | 174 | } |
175 | 175 | ||