]> www.infradead.org Git - users/jedix/linux-maple.git/commit
x86/mm: enable ARCH_HAS_VM_GET_PAGE_PROT
authorChristoph Hellwig <hch@infradead.org>
Thu, 14 Apr 2022 06:07:07 +0000 (23:07 -0700)
committerakpm <akpm@linux-foundation.org>
Thu, 14 Apr 2022 06:07:07 +0000 (23:07 -0700)
commit60b1349e64fc61ffd4b8ee1606f3b61fe32fa876
treee34af9399049c0d22d9dfbe18c519e15a510a433
parent4a33f57fd154d1f9f098466c6139134805944506
x86/mm: enable ARCH_HAS_VM_GET_PAGE_PROT

This defines and exports a platform specific custom vm_get_page_prot() via
subscribing ARCH_HAS_VM_GET_PAGE_PROT.  This also unsubscribes from config
ARCH_HAS_FILTER_PGPROT, after dropping off arch_filter_pgprot() and
arch_vm_get_page_prot().

Link: https://lkml.kernel.org/r/20220407103251.1209606-6-anshuman.khandual@arm.com
Signed-off-by: Christoph Hellwig <hch@infradead.org>
Signed-off-by: Anshuman Khandual <anshuman.khandual@arm.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: Catalin Marinas <catalin.marinas@arm.com>
Cc: "David S. Miller" <davem@davemloft.net>
Cc: Khalid Aziz <khalid.aziz@oracle.com>
Cc: Michael Ellerman <mpe@ellerman.id.au>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Will Deacon <will@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
arch/x86/Kconfig
arch/x86/include/asm/pgtable.h
arch/x86/include/uapi/asm/mman.h
arch/x86/mm/Makefile
arch/x86/mm/pgprot.c [new file with mode: 0644]