]> www.infradead.org Git - users/dwmw2/linux.git/commit
mm: move set_pxd_safe() helpers from generic to platform
authorAnshuman Khandual <anshuman.khandual@arm.com>
Thu, 3 Oct 2024 04:48:42 +0000 (10:18 +0530)
committerAndrew Morton <akpm@linux-foundation.org>
Thu, 7 Nov 2024 04:11:09 +0000 (20:11 -0800)
commitd7d65b1039019e8789119b498d97cf2531d989a8
treebb84962e4d06de228f3f111d0e4640b0ee3bc00e
parentf0327de7067c008088d96592198ec6df045c5a1b
mm: move set_pxd_safe() helpers from generic to platform

set_pxd_safe() helpers that serve a specific purpose for both x86 and
riscv platforms, do not need to be in the common memory code.  Otherwise
they just unnecessarily make the common API more complicated.  This moves
the helpers from common code to platform instead.

Link: https://lkml.kernel.org/r/20241003044842.246016-1-anshuman.khandual@arm.com
Signed-off-by: Anshuman Khandual <anshuman.khandual@arm.com>
Suggested-by: David Hildenbrand <david@redhat.com>
Acked-by: Dave Hansen <dave.hansen@linux.intel.com>
Acked-by: David Hildenbrand <david@redhat.com>
Cc: Paul Walmsley <paul.walmsley@sifive.com>
Cc: Palmer Dabbelt <palmer@dabbelt.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: David Hildenbrand <david@redhat.com>
Cc: Ryan Roberts <ryan.roberts@arm.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
arch/riscv/include/asm/pgtable.h
arch/x86/include/asm/pgtable.h
include/linux/pgtable.h