linux/arch/sh/include
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
..
asm mm: pgtable: fix pte_swp_exclusive 2025-06-11 14:52:08 -07:00
cpu-common/cpu
cpu-sh2/cpu
cpu-sh2a/cpu
cpu-sh3/cpu
cpu-sh4/cpu sh: dma: Drop incorrect SH_DMAC_BASE1 definition for SH4 2023-07-05 18:55:25 +02:00
cpu-sh4a/cpu
mach-common/mach sh: Replace __ASSEMBLY__ with __ASSEMBLER__ in all headers 2025-06-07 15:16:21 +02:00
mach-dreamcast/mach sh: Avoid using IRQ0 on SH3 and SH4 2023-06-11 18:22:47 +02:00
mach-ecovec24/mach sh: Replace __ASSEMBLY__ with __ASSEMBLER__ in all headers 2025-06-07 15:16:21 +02:00
mach-kfr2r09/mach sh: Replace __ASSEMBLY__ with __ASSEMBLER__ in all headers 2025-06-07 15:16:21 +02:00
mach-landisk/mach
mach-migor/mach
mach-sdk7786/mach
mach-se/mach sh: Avoid using IRQ0 on SH3 and SH4 2023-06-11 18:22:47 +02:00
mach-sh03/mach
mach-x3proto/mach
uapi/asm