linux-kernelorg-stable/arch/csky
Magnus Lindholm 403d1338a4 mm: pgtable: fix pte_swp_exclusive
Make pte_swp_exclusive return bool instead of int.  This will better
reflect how pte_swp_exclusive is actually used in the code.

This fixes swap/swapoff problems on Alpha due pte_swp_exclusive not
returning correct values when _PAGE_SWP_EXCLUSIVE bit resides in upper
32-bits of PTE (like on alpha).

Suggested-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Magnus Lindholm <linmag7@gmail.com>
Cc: Sam James <sam@gentoo.org>
Link: https://lore.kernel.org/lkml/20250218175735.19882-2-linmag7@gmail.com/
Link: https://lore.kernel.org/lkml/20250602041118.GA2675383@ZenIV/
[ Applied as the 'sed' script Al suggested   - Linus ]
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2025-06-11 14:52:08 -07:00
..
abiv1 csky: Remove the size from alignment_tbl declaration 2025-02-05 10:15:40 +01:00
abiv2
boot kbuild: use $(src) instead of $(srctree)/$(src) for source directory 2024-05-10 04:34:52 +09:00
configs
include mm: pgtable: fix pte_swp_exclusive 2025-06-11 14:52:08 -07:00
kernel Kbuild updates for v6.16 2025-06-07 10:05:35 -07:00
lib
mm arch, mm: make releasing of memory to page allocator more explicit 2025-03-17 22:06:53 -07:00
Kbuild
Kconfig csky/vdso: Remove gettimeofday() and friends from VDSO 2024-11-02 12:37:32 +01:00
Kconfig.debug
Kconfig.platforms
Makefile