Files
linux/arch/powerpc/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-06-11 14:52:08 -07:00
2025-06-11 14:52:08 -07:00
2025-03-16 22:04:27 +11:00
2023-10-20 23:18:07 +11:00
2023-10-20 23:18:07 +11:00
2025-03-16 22:04:27 +11:00
2023-12-08 12:02:37 +01:00
2023-12-08 12:02:37 +01:00
2021-03-24 14:09:29 +11:00
2022-06-29 19:37:07 +10:00
2025-02-26 21:15:08 +05:30
2025-02-26 21:15:07 +05:30
2024-06-28 22:28:48 +10:00
2024-06-28 22:28:48 +10:00
2024-02-15 00:14:06 +11:00
2024-05-08 00:21:30 +10:00
2023-12-08 12:02:37 +01:00
2024-10-16 00:13:04 +02:00
2021-02-09 01:09:44 +11:00
2024-05-08 00:21:30 +10:00
2025-03-16 22:04:27 +11:00
2025-04-16 22:30:22 +05:30
2024-06-28 22:28:48 +10:00
2023-08-24 22:33:16 +10:00
2024-10-29 23:01:52 +11:00
2024-05-08 00:21:30 +10:00
2022-07-27 21:36:05 +10:00
2022-01-30 21:17:00 -05:00