diff options
Diffstat (limited to 'arch/sh')
-rw-r--r-- | arch/sh/kernel/setup.c | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/arch/sh/kernel/setup.c b/arch/sh/kernel/setup.c index 08001729f5ee..e3f0da7b865d 100644 --- a/arch/sh/kernel/setup.c +++ b/arch/sh/kernel/setup.c | |||
@@ -276,6 +276,12 @@ void __init setup_bootmem_allocator(unsigned long free_pfn) | |||
276 | } | 276 | } |
277 | 277 | ||
278 | /* | 278 | /* |
279 | * Handle additional early reservations | ||
280 | */ | ||
281 | check_for_initrd(); | ||
282 | reserve_crashkernel(); | ||
283 | |||
284 | /* | ||
279 | * Add all physical memory to the bootmem map and mark each | 285 | * Add all physical memory to the bootmem map and mark each |
280 | * area as present. | 286 | * area as present. |
281 | */ | 287 | */ |
@@ -290,10 +296,6 @@ void __init setup_bootmem_allocator(unsigned long free_pfn) | |||
290 | node_set_online(0); | 296 | node_set_online(0); |
291 | 297 | ||
292 | sparse_memory_present_with_active_regions(0); | 298 | sparse_memory_present_with_active_regions(0); |
293 | |||
294 | check_for_initrd(); | ||
295 | |||
296 | reserve_crashkernel(); | ||
297 | } | 299 | } |
298 | 300 | ||
299 | #ifndef CONFIG_NEED_MULTIPLE_NODES | 301 | #ifndef CONFIG_NEED_MULTIPLE_NODES |