diff options
| author | David Hildenbrand <david@redhat.com> | 2023-01-13 18:10:02 +0100 |
|---|---|---|
| committer | Andrew Morton <akpm@linux-foundation.org> | 2023-02-02 22:33:06 -0800 |
| commit | a172d5128706028ac07b8db709728379ecc72f6e (patch) | |
| tree | 7eb8fb408708ec3ab4afc9ce054abb2072e3bcf8 /arch/arm/mach-imx/mach-imxrt.c | |
| parent | 2321ba3e3733f513e46e29b9c70512ecddbf1085 (diff) | |
| download | linux-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
