summaryrefslogtreecommitdiff
path: root/arch/arm/mach-imx/mach-imxrt.c
diff options
context:
space:
mode:
authorDavid Hildenbrand <david@redhat.com>2023-01-13 18:10:02 +0100
committerAndrew Morton <akpm@linux-foundation.org>2023-02-02 22:33:06 -0800
commita172d5128706028ac07b8db709728379ecc72f6e (patch)
tree7eb8fb408708ec3ab4afc9ce054abb2072e3bcf8 /arch/arm/mach-imx/mach-imxrt.c
parent2321ba3e3733f513e46e29b9c70512ecddbf1085 (diff)
downloadlinux-a172d5128706028ac07b8db709728379ecc72f6e.tar.gz
linux-a172d5128706028ac07b8db709728379ecc72f6e.tar.bz2
linux-a172d5128706028ac07b8db709728379ecc72f6e.zip
alpha/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, mask the type in mk_swap_pte() as well. Link: https://lkml.kernel.org/r/20230113171026.582290-3-david@redhat.com Signed-off-by: David Hildenbrand <david@redhat.com> Cc: Richard Henderson <richard.henderson@linaro.org> Cc: Ivan Kokshaysky <ink@jurassic.park.msu.ru> Cc: Matt Turner <mattst88@gmail.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'arch/arm/mach-imx/mach-imxrt.c')
0 files changed, 0 insertions, 0 deletions