linux/arch/xtensa/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
asm-offsets.h
asm-prototypes.h
asm-uaccess.h
asmmacro.h
atomic.h
barrier.h
bitops.h
bootparam.h
cache.h
cacheasm.h
cacheflush.h xtensa: remove redundant flush_dcache_page and ARCH_IMPLEMENTS_FLUSH_DCACHE_PAGE macros 2024-04-28 21:18:18 -07:00
cachetype.h
checksum.h
cmpxchg.h xtensa: Emulate one-byte cmpxchg 2024-09-13 07:10:38 -07:00
coprocessor.h
core.h
current.h arch/xtensa: always_inline get_current() and current_thread_info() 2024-07-09 15:41:10 -07:00
delay.h
dma.h
elf.h
fixmap.h
flat.h move asm/unaligned.h to linux/unaligned.h 2024-10-02 17:23:23 -04:00
ftrace.h
futex.h
highmem.h
hw_breakpoint.h
initialize_mmu.h
io.h mm/ioremap: pass pgprot_t to ioremap_prot() instead of unsigned long 2025-03-16 22:06:23 -07:00
irq.h
irqflags.h
jump_label.h
kasan.h
kmem_layout.h
linkage.h
mmu.h
mmu_context.h
mtd-xip.h
mxregs.h
nommu_context.h
page.h Networking changes for 6.13. 2024-11-21 08:28:08 -08:00
pci-bridge.h
pci.h
perf_event.h
pgalloc.h asm-generic: pgalloc: provide generic __pgd_{alloc,free} 2025-01-25 20:22:24 -08:00
pgtable.h mm: pgtable: fix pte_swp_exclusive 2025-06-11 14:52:08 -07:00
platform.h
processor.h xtensa: Remove zero-length alignment array 2024-12-09 03:54:54 -08:00
ptrace.h xtensa: ptrace: Remove zero-length alignment array 2025-02-19 09:06:37 -08:00
regs.h
seccomp.h
sections.h
serial.h
shmparam.h
signal.h
smp.h
spinlock.h
spinlock_types.h Improve consistency of '#error' directive messages 2024-11-11 17:17:04 -08:00
stackprotector.h
stacktrace.h
string.h
switch_to.h
syscall.h syscall.h: introduce syscall_set_nr() 2025-05-11 17:48:15 -07:00
sysmem.h
thread_info.h arch/xtensa: always_inline get_current() and current_thread_info() 2024-07-09 15:41:10 -07:00
timex.h
tlb.h
tlbflush.h
traps.h
uaccess.h
ucontext.h
unistd.h clone3: drop __ARCH_WANT_SYS_CLONE3 macro 2024-07-10 14:23:38 +02:00
vectors.h
vermagic.h
vmalloc.h