linux-kernelorg-stable/arch/sh
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
..
boards sh updates for v6.16 2025-06-07 10:00:03 -07:00
boot sh: Migrate to the generic rule for built-in DTB 2025-02-01 10:43:18 +01:00
cchips
configs crypto: Kconfig - make CRYPTO_MANAGER a hidden symbol 2025-05-12 13:34:03 +08:00
drivers treewide, timers: Rename from_timer() to timer_container_of() 2025-06-08 09:07:37 +02:00
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 sh: remove duplicate ioread/iowrite helpers 2025-03-11 10:41:18 +01:00
math-emu
mm arch, mm: make releasing of memory to page allocator more explicit 2025-03-17 22:06:53 -07:00
tools
Kbuild sh: Migrate to the generic rule for built-in DTB 2025-02-01 10:43:18 +01:00
Kconfig sh: Migrate to the generic rule for built-in DTB 2025-02-01 10:43:18 +01:00
Kconfig.cpu
Kconfig.debug
Makefile