]> Gentwo Git Trees - linux/.git/commit
mm: make INVALID_PHYS_ADDR a generic macro
authorAnshuman Khandual <anshuman.khandual@arm.com>
Tue, 21 Oct 2025 02:56:38 +0000 (03:56 +0100)
committerAndrew Morton <akpm@linux-foundation.org>
Mon, 17 Nov 2025 01:28:26 +0000 (17:28 -0800)
commit272239dc8fcb109b9f1ec1a73bb85405dac92eda
tree5ee2cc5030e8aca2beec962799a87bedabb778a1
parentb734b9d973ccd7ad1cfebc2e1f7db693824a37ef
mm: make INVALID_PHYS_ADDR a generic macro

INVALID_PHYS_ADDR has very similar definitions across the code base.
Hence just move that inside header <liux/mm.h> for more generic usage.
Also drop the now redundant ones which are no longer required.

Link: https://lkml.kernel.org/r/20251021025638.2420216-1-anshuman.khandual@arm.com
Signed-off-by: Anshuman Khandual <anshuman.khandual@arm.com>
Acked-by: Alexander Gordeev <agordeev@linux.ibm.com> [s390]
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
arch/arm64/mm/mmu.c
arch/s390/boot/vmem.c
drivers/vdpa/vdpa_user/iova_domain.h
include/linux/mm.h
kernel/dma/swiotlb.c