Commit 974a5074 authored by Youling Tang's avatar Youling Tang Committed by Kazuhito Hagio
Browse files

[PATCH] mips64: Retrieve MAX_PHYSMEM_BITS from vmcoreinfo



Retrieve MAX_PHYSMEM_BITS from vmcoreinfo for mips64, which was added
by kernel commit 1d50e5d0c505 ("crash_core, vmcoreinfo: Append
'MAX_PHYSMEM_BITS' to vmcoreinfo").  This makes makedumpfile adaptable
for future MAX_PHYSMEM_BITS changes.

Also ensure backward compatibility for kernel versions in which
MAX_PHYSMEM_BITS is not available in vmcoreinfo.

Signed-off-by: default avatarYouling Tang <tangyouling@loongson.cn>
parent f8348d3e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment