diff options
author | David Hildenbrand <david@redhat.com> | 2023-02-08 17:08:01 +0300 |
---|---|---|
committer | Andrew Morton <akpm@linux-foundation.org> | 2023-02-10 03:51:30 +0300 |
commit | 6f74c0ec2095335158015ce29b708e775b9cea3a (patch) | |
tree | 52fc1bc1ac0bdfcc2f630a9ea36c50c847ebae2e /include/linux/highmem.h | |
parent | 9160cffd45ee93bc20de134e4f127dac9af0cc18 (diff) | |
download | linux-6f74c0ec2095335158015ce29b708e775b9cea3a.tar.xz |
arm/mm: fix swp type masking in __swp_entry()
We're masking with the number of type bits instead of the type mask, which
is obviously wrong.
Link: https://lkml.kernel.org/r/39fd91e3-c93b-23c6-afc6-cbe473bb0ca9@redhat.com
Fixes: 20aae9eff5ac ("arm/mm: support __HAVE_ARCH_PTE_SWP_EXCLUSIVE")
Signed-off-by: David Hildenbrand <david@redhat.com>
Reported-by: Mark Brown <broonie@kernel.org>
Tested-by: Mark Brown <broonie@kernel.org>
Cc: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'include/linux/highmem.h')
0 files changed, 0 insertions, 0 deletions