X-Git-Url: https://git.kernelconcepts.de/?a=blobdiff_plain;f=arch%2Fsh%2Fkernel%2Fsetup.c;h=1a0e946679a4d799038f4051811a8c0390156357;hb=d30cc16c8e48368e0518f4975a78711e53e14a0f;hp=58bff45d1156ee4d36857f28845d71e5bc5a4954;hpb=751516f0a9bad32544f40f471037c0e45fb639c9;p=karo-tx-linux.git 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, } /* - * We don't know which RAM region contains kernel data, - * so we try it repeatedly and let the resource manager - * test it. + * We don't know which RAM region contains kernel data or + * the reserved crashkernel region, so try it repeatedly + * and let the resource manager test it. */ request_resource(res, &code_resource); request_resource(res, &data_resource); request_resource(res, &bss_resource); +#ifdef CONFIG_KEXEC + request_resource(res, &crashk_res); +#endif /* * Also make sure that there is a PMB mapping that covers this