Commit 269aa43a authored by Marcin Nowakowski's avatar Marcin Nowakowski Committed by Ralf Baechle
Browse files

MIPS: Do not request resources for crashkernel if one isn't defined

When KEXEC is enabled but crashkernel details are not passed through the
kernel commandline unnecessary resources are requested (start==end==0)

Signed-off-by: default avatarMarcin Nowakowski <>

Signed-off-by: default avatarRalf Baechle <>
parent 39a3cb27
......@@ -672,6 +672,9 @@ static void __init request_crashkernel(struct resource *res)
int ret;
if (crashk_res.start == crashk_res.end)
ret = request_resource(res, &crashk_res);
if (!ret)
pr_info("Reserving %ldMB of memory at %ldMB for crashkernel\n",
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment