summaryrefslogtreecommitdiff
path: root/arch/m68k/include
diff options
context:
space:
mode:
authorDavid Hildenbrand <david@redhat.com>2023-01-13 20:10:08 +0300
committerAndrew Morton <akpm@linux-foundation.org>2023-02-03 09:33:07 +0300
commitad3150f11b099321331f2f74d008e86ab2a04c7a (patch)
tree82d4499ac0639b7b77f2eb8c301907810eea418f /arch/m68k/include
parent3151cc26565ea864c51a78900101ad68b864f405 (diff)
downloadlinux-ad3150f11b099321331f2f74d008e86ab2a04c7a.tar.xz
loongarch/mm: support __HAVE_ARCH_PTE_SWP_EXCLUSIVE
Let's support __HAVE_ARCH_PTE_SWP_EXCLUSIVE by stealing one bit from the type. Generic MM currently only uses 5 bits for the type (MAX_SWAPFILES_SHIFT), so the stolen bit is effectively unused. While at it, also mask the type in mk_swap_pte(). Note that this bit does not conflict with swap PMDs and could also be used in swap PMD context later. Link: https://lkml.kernel.org/r/20230113171026.582290-9-david@redhat.com Signed-off-by: David Hildenbrand <david@redhat.com> Cc: Huacai Chen <chenhuacai@kernel.org> Cc: WANG Xuerui <kernel@xen0n.name> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'arch/m68k/include')
0 files changed, 0 insertions, 0 deletions