linux-kernelorg-stable/arch/mips
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
..
alchemy MIPS: alchemy: gpio: use new line value setter callbacks 2025-04-27 09:21:21 +02:00
ath25 MIPS: Switch to irq_domain_create_*() 2025-05-16 21:06:10 +02:00
ath79
bcm47xx net: phy: fixed_phy: remove irq argument from fixed_phy_add 2025-05-20 18:17:43 -07:00
bcm63xx MIPS: BCM63XX: Replace strcpy() with strscpy() in board_prom_init() 2025-04-27 09:47:09 +02:00
bmips
boot mips: dts: Add EcoNet DTS with EN751221 and SmartFiber XP8421-B board 2025-05-20 08:47:07 +02:00
cavium-octeon A set of cleanups for the generic interrupt subsystem: 2025-05-27 08:07:32 -07:00
cobalt
configs Networking changes for 6.16. 2025-05-28 15:24:36 -07:00
crypto crypto: mips/sha256 - implement library instead of shash 2025-05-05 18:20:43 +08:00
dec MIPS: dec: Declare which_prom() as static 2025-02-27 10:40:45 +01:00
econet mips: dts: Add EcoNet DTS with EN751221 and SmartFiber XP8421-B board 2025-05-20 08:47:07 +02:00
fw
generic
include mm: pgtable: fix pte_swp_exclusive 2025-06-11 14:52:08 -07:00
ingenic
jazz mips/jazz: remove unused jazz_handle_int() declaration 2024-08-29 10:39:00 +02:00
kernel Kbuild updates for v6.16 2025-06-07 10:05:35 -07:00
kvm KVM: MIPS: Switch to use hrtimer_setup() 2025-02-18 10:32:30 +01:00
lantiq MIPS: Switch to irq_domain_create_*() 2025-05-16 21:06:10 +02:00
lib This update includes the following changes: 2025-05-26 13:47:28 -07:00
loongson2ef MIPS: Loongson2ef: Replace deprecated strncpy() with strscpy() 2025-02-27 10:40:01 +01:00
loongson32
loongson64 - The 6 patch series "Enable strict percpu address space checks" from 2025-04-01 09:29:18 -07:00
math-emu mips/math-emu: fix emulation of the prefx instruction 2025-01-11 12:49:05 +01:00
mm arch: remove mk_pmd() 2025-05-11 17:48:04 -07:00
mobileye
mti-malta
n64
net
pci MIPS: Switch to irq_domain_create_*() 2025-05-16 21:06:10 +02:00
pic32
power
ralink MIPS: Switch to irq_domain_create_*() 2025-05-16 21:06:10 +02:00
rb532 MIPS: rb532: gpio: use new line value setter callbacks 2025-04-27 09:21:21 +02:00
sgi-ip22 treewide: Switch/rename to timer_delete[_sync]() 2025-04-05 10:30:12 +02:00
sgi-ip27 irqdomain: Rename irq_set_default_host() to irq_set_default_domain() 2025-04-04 16:39:10 +02:00
sgi-ip30 irqdomain: Rename irq_set_default_host() to irq_set_default_domain() 2025-04-04 16:39:10 +02:00
sgi-ip32
sibyte
sni mips: sni: Do not include <linux/fb.h> 2025-02-21 10:19:48 +01:00
tools
txx9 MIPS: txx9: gpio: use new line value setter callbacks 2025-04-27 09:21:21 +02:00
vdso mips: Add -std= flag specified in KBUILD_CFLAGS to vdso CFLAGS 2025-04-27 09:37:10 +02:00
Kbuild
Kbuild.platforms mips: Add EcoNet MIPS platform support 2025-05-20 08:46:58 +02:00
Kconfig mips: econet: Fix incorrect Kconfig dependencies 2025-05-25 15:00:02 +02:00
Kconfig.debug
Makefile kbuild: Introduce Kconfig symbol for linking vmlinux with relocations 2025-03-17 00:29:50 +09:00
Makefile.postlink kbuild: Create intermediate vmlinux build with relocations preserved 2025-03-17 00:29:50 +09:00