linux/arch/alpha/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
..
Kbuild asm-generic: introduce text-patching.h 2024-11-07 14:25:15 -08:00
agp_backend.h
asm-prototypes.h
atomic.h
barrier.h
bitops.h
bug.h
cache.h
cacheflush.h
checksum.h
cmpxchg.h alpha: no need to include asm/xchg.h twice 2024-08-19 09:45:27 +02:00
compiler.h
console.h
core_cia.h
core_irongate.h
core_marvel.h
core_mcpcia.h
core_polaris.h
core_t2.h alpha: sable: remove early machine support 2024-05-03 22:09:55 +02:00
core_titan.h
core_tsunami.h
core_wildfire.h
delay.h
device.h
dma-mapping.h alpha: remove DECpc AXP150 (Jensen) support 2024-05-03 22:09:50 +02:00
dma.h alpha: remove LCA and APECS based machines 2024-05-03 22:09:59 +02:00
elf.h alpha/elf: Fix misc/setarch test of util-linux by removing 32bit support 2025-02-06 07:35:38 -08:00
emergency-restart.h
err_common.h
err_ev6.h
err_ev7.h
extable.h
floppy.h
fpu.h
ftrace.h
futex.h
gct.h
hardirq.h
hw_irq.h
hwrpb.h alpha: Replace one-element array with flexible array member 2025-02-14 14:06:15 -05:00
io.h alpha: stop using asm-generic/iomap.h 2025-03-10 16:20:25 +01:00
io_trivial.h
irq.h alpha: cabriolet: remove EV5 CPU support 2024-05-03 22:10:03 +02:00
irqflags.h
linkage.h
local.h
machvec.h alpha: drop pre-EV56 support 2024-05-06 12:05:00 +02:00
mc146818rtc.h
mce.h
mmu.h
mmu_context.h alpha: drop pre-EV56 support 2024-05-06 12:05:00 +02:00
module.h
page.h - The series "zram: optimal post-processing target selection" from 2024-11-23 09:58:07 -08:00
pal.h
param.h
parport.h
pci.h
percpu.h
perf_event.h
pgalloc.h
pgtable.h mm: pgtable: fix pte_swp_exclusive 2025-06-11 14:52:08 -07:00
processor.h alpha/elf: Fix misc/setarch test of util-linux by removing 32bit support 2025-02-06 07:35:38 -08:00
ptrace.h
rwonce.h
serial.h
setup.h
sfp-machine.h
shmparam.h
signal.h
smp.h
socket.h
sparsemem.h
special_insns.h alpha: drop pre-EV56 support 2024-05-06 12:05:00 +02:00
spinlock.h
spinlock_types.h Improve consistency of '#error' directive messages 2024-11-11 17:17:04 -08:00
string.h
switch_to.h
syscall.h
thread_info.h
timex.h
tlb.h
tlbflush.h alpha: drop pre-EV56 support 2024-05-06 12:05:00 +02:00
topology.h
types.h
uaccess.h alpha: drop pre-EV56 support 2024-05-06 12:05:00 +02:00
ucontext.h
unistd.h
user.h
vga.h
vmalloc.h
word-at-a-time.h
wrperfmon.h
xor.h