Commit bff97541 authored by Mao Minkai's avatar Mao Minkai Committed by Zheng Zengkai
Browse files

sw64: mm: use memblock to find the end of memory

Sunway inclusion
category: feature
bugzilla: https://gitee.com/openeuler/kernel/issues/I56TYY



--------------------------------

Use memblock_end_of_DRAM() instead of PFN_PHYS(max_low_pfn) in
process_memmap to find a more accurate end of memory.

Signed-off-by: default avatarMao Minkai <maominkai@wxiat.com>

Signed-off-by: default avatarGu Zitao <guzitao@wxiat.com>
Acked-by: default avatarXie XiuQi <xiexiuqi@huawei.com>
Signed-off-by: default avatarZheng Zengkai <zhengzengkai@huawei.com>
parent c8761cf9
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment