aboutsummaryrefslogtreecommitdiffstats
path: root/lib/error-inject.c
diff options
context:
space:
mode:
authorAnshuman Khandual <[email protected]>2021-09-30 01:30:39 +0000
committerWill Deacon <[email protected]>2021-10-01 13:54:45 +0000
commit3de360c3fdb34fbdbaf6da3af94367d3fded95d3 (patch)
tree9a883c51f76dd38fca4ab13ddcee0a86285f81f8 /lib/error-inject.c
parentdma-mapping: remove bogus test for pfn_valid from dma_map_resource (diff)
downloadkernel-3de360c3fdb34fbdbaf6da3af94367d3fded95d3.tar.gz
kernel-3de360c3fdb34fbdbaf6da3af94367d3fded95d3.zip
arm64/mm: drop HAVE_ARCH_PFN_VALID
CONFIG_SPARSEMEM_VMEMMAP is now the only available memory model on arm64 platforms and free_unused_memmap() would just return without creating any holes in the memmap mapping. There is no need for any special handling in pfn_valid() and HAVE_ARCH_PFN_VALID can just be dropped. This also moves the pfn upper bits sanity check into generic pfn_valid(). [rppt: rebased on v5.15-rc3] Link: https://lkml.kernel.org/r/[email protected] Signed-off-by: Anshuman Khandual <[email protected]> Acked-by: David Hildenbrand <[email protected]> Acked-by: Mike Rapoport <[email protected]> Cc: Catalin Marinas <[email protected]> Cc: Will Deacon <[email protected]> Cc: David Hildenbrand <[email protected]> Cc: Mike Rapoport <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]> Signed-off-by: Mike Rapoport <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Will Deacon <[email protected]>
Diffstat (limited to 'lib/error-inject.c')
0 files changed, 0 insertions, 0 deletions