diff options
Diffstat (limited to 'arch/sh/kernel/setup.c')
-rw-r--r-- | arch/sh/kernel/setup.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/arch/sh/kernel/setup.c b/arch/sh/kernel/setup.c index 58bff45d1156..1a0e946679a4 100644 --- a/arch/sh/kernel/setup.c +++ b/arch/sh/kernel/setup.c | |||
@@ -211,13 +211,16 @@ void __init __add_active_range(unsigned int nid, unsigned long start_pfn, | |||
211 | } | 211 | } |
212 | 212 | ||
213 | /* | 213 | /* |
214 | * We don't know which RAM region contains kernel data, | 214 | * We don't know which RAM region contains kernel data or |
215 | * so we try it repeatedly and let the resource manager | 215 | * the reserved crashkernel region, so try it repeatedly |
216 | * test it. | 216 | * and let the resource manager test it. |
217 | */ | 217 | */ |
218 | request_resource(res, &code_resource); | 218 | request_resource(res, &code_resource); |
219 | request_resource(res, &data_resource); | 219 | request_resource(res, &data_resource); |
220 | request_resource(res, &bss_resource); | 220 | request_resource(res, &bss_resource); |
221 | #ifdef CONFIG_KEXEC | ||
222 | request_resource(res, &crashk_res); | ||
223 | #endif | ||
221 | 224 | ||
222 | /* | 225 | /* |
223 | * Also make sure that there is a PMB mapping that covers this | 226 | * Also make sure that there is a PMB mapping that covers this |