arm64: remove unused ARCH_PFN_OFFSET

This is only relevant to the FLATMEM memory model, which isn't an option
since commit 782276b4d0 ("arm64: Force SPARSEMEM_VMEMMAP as the only
memory management model").

Signed-off-by: Omar Sandoval <osandov@fb.com>
Acked-by: Will Deacon <will@kernel.org>
Reviewed-by: Anshuman Khandual <anshuman.khandual@arm.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
This commit is contained in:
Omar Sandoval 2025-10-08 16:01:30 -07:00 committed by Catalin Marinas
parent d3b570eba7
commit bf6b3fed18
1 changed files with 0 additions and 1 deletions

View File

@ -392,7 +392,6 @@ static inline unsigned long virt_to_pfn(const void *kaddr)
* virt_to_page(x) convert a _valid_ virtual address to struct page * * virt_to_page(x) convert a _valid_ virtual address to struct page *
* virt_addr_valid(x) indicates whether a virtual address is valid * virt_addr_valid(x) indicates whether a virtual address is valid
*/ */
#define ARCH_PFN_OFFSET ((unsigned long)PHYS_PFN_OFFSET)
#if defined(CONFIG_DEBUG_VIRTUAL) #if defined(CONFIG_DEBUG_VIRTUAL)
#define page_to_virt(x) ({ \ #define page_to_virt(x) ({ \