linux-kernelorg-stable/arch/sparc
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
..
boot
configs crypto: tcrypt - rename CRYPTO_TEST to CRYPTO_BENCHMARK 2025-05-12 13:32:53 +08:00
crypto crypto: sparc/sha256 - implement library instead of shash 2025-05-05 18:20:44 +08:00
include mm: pgtable: fix pte_swp_exclusive 2025-06-11 14:52:08 -07:00
kernel treewide, timers: Rename from_timer() to timer_container_of() 2025-06-08 09:07:37 +02:00
lib This update includes the following changes: 2025-05-26 13:47:28 -07:00
math-emu
mm sparc64: mm: call ctor/dtor for kernel PTEs 2025-05-11 17:48:22 -07:00
net
power
prom
vdso sparc/vdso: Always reject undefined references during linking 2025-03-11 09:54:48 +01:00
video
Kbuild
Kconfig sparc/crc32: expose CRC32 functions through lib 2024-12-01 17:23:01 -08:00
Kconfig.debug
Makefile