Skip to content
Commit c55e7717 authored by Ruiqiang Hao's avatar Ruiqiang Hao Committed by Bruce Ashfield
Browse files

ghes-bert: replace pfn_valid() with memblock_is_map_memory()

After commit 3f7b1a87

 (arm64/mm: drop HAVE_ARCH_PFN_VALID), function
pfn_valid() in arch/arm64/mm/init.c was removed, we should not use pfn_valid()
to ensure presence of linear map. Replace it with memblock_is_map_memory()
to avoid memory mapping error.

Signed-off-by: default avatarRuiqiang Hao <Ruiqiang.Hao@windriver.com>
Signed-off-by: default avatarBruce Ashfield <bruce.ashfield@gmail.com>
parent 5895cf0d
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