OSDN Git Service

nios2/mm: support __HAVE_ARCH_PTE_SWP_EXCLUSIVE
authorDavid Hildenbrand <david@redhat.com>
Fri, 13 Jan 2023 17:10:14 +0000 (18:10 +0100)
committerAndrew Morton <akpm@linux-foundation.org>
Fri, 3 Feb 2023 06:33:08 +0000 (22:33 -0800)
commit4d1d955f7c0cdbb7562d19049f859c74276fdfeb
treef0537894c5da00280df4f2472c57a1f5cb495231
parent0a9ad8273ff4643dd50ff6b3ec991ab270e87a89
nios2/mm: support __HAVE_ARCH_PTE_SWP_EXCLUSIVE

Let's support __HAVE_ARCH_PTE_SWP_EXCLUSIVE by using the yet-unused bit
31.

Link: https://lkml.kernel.org/r/20230113171026.582290-15-david@redhat.com
Signed-off-by: David Hildenbrand <david@redhat.com>
Cc: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
arch/nios2/include/asm/pgtable-bits.h
arch/nios2/include/asm/pgtable.h