Files
linux/arch/riscv/include/asm
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
..
2025-03-20 09:15:03 +00:00
2025-06-05 11:09:37 -07:00
2025-01-18 12:33:39 -08:00
2022-03-10 09:29:21 -08:00
2024-06-26 08:02:33 -07:00
2024-09-03 07:18:33 -07:00
2024-05-19 14:36:19 -07:00
2025-06-05 11:09:37 -07:00
2025-06-05 11:09:37 -07:00
2022-03-29 14:31:07 -07:00
2025-03-26 15:56:46 -07:00
2025-06-11 14:52:08 -07:00
2021-01-14 15:09:06 -08:00
2025-06-04 15:11:01 -07:00
2024-03-15 10:17:38 -07:00
2021-01-07 19:00:50 -08:00
2025-03-18 12:59:03 +00:00
2024-11-05 12:55:39 +01:00
2025-06-05 11:09:40 -07:00
2024-09-03 07:18:34 -07:00