]> www.infradead.org Git - users/jedix/linux-maple.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>
Fri, 1 Nov 2024 04:28:57 +0000 (21:28 -0700)
commita073f32ac099b1decdad184050c55a114da25d0d
tree2c2f81a379564d8e3c7008265db906f044934336
parent536cfd276d46dc72817170a7cb684d63b819fb3c
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