diff options
author | Will Deacon <will.deacon@arm.com> | 2015-12-15 13:59:03 +0300 |
---|---|---|
committer | Will Deacon <will.deacon@arm.com> | 2015-12-15 13:59:03 +0300 |
commit | 129b985cc3f331d0e6908958f50757a3a1b37793 (patch) | |
tree | 310de459f120ca99eaa30127a517212a16dccfd6 /arch/arm64/mm/init.c | |
parent | 32d6397805d00573ce1fa55f408ce2bca15b0ad3 (diff) | |
parent | f7d924894265794f447ea799dd853400749b5a22 (diff) | |
download | linux-129b985cc3f331d0e6908958f50757a3a1b37793.tar.xz |
Merge branch 'aarch64/efi' into aarch64/for-next/core
Merge in EFI memblock changes from Ard, which form the preparatory work
for UEFI support on 32-bit ARM.
Diffstat (limited to 'arch/arm64/mm/init.c')
-rw-r--r-- | arch/arm64/mm/init.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm64/mm/init.c b/arch/arm64/mm/init.c index 2ee6c208c318..f3b061e67bfe 100644 --- a/arch/arm64/mm/init.c +++ b/arch/arm64/mm/init.c @@ -120,7 +120,7 @@ static void __init zone_sizes_init(unsigned long min, unsigned long max) #ifdef CONFIG_HAVE_ARCH_PFN_VALID int pfn_valid(unsigned long pfn) { - return memblock_is_memory(pfn << PAGE_SHIFT); + return memblock_is_map_memory(pfn << PAGE_SHIFT); } EXPORT_SYMBOL(pfn_valid); #endif |