linux/arch/sh/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
adc.h
addrspace.h
alignment.h
asm-offsets.h
atomic-grb.h
atomic-irq.h
atomic-llsc.h
atomic.h
barrier.h
bitops-cas.h
bitops-grb.h
bitops-llsc.h
bitops-op32.h
bitops.h
bl_bit.h
bl_bit_32.h
bug.h
cache.h sh: Replace __ASSEMBLY__ with __ASSEMBLER__ in all headers 2025-06-07 15:16:21 +02:00
cache_insns.h
cache_insns_32.h
cacheflush.h
cachetype.h
checksum.h
checksum_32.h
clock.h
cmpxchg-cas.h
cmpxchg-grb.h
cmpxchg-irq.h
cmpxchg-llsc.h
cmpxchg-xchg.h
cmpxchg.h
device.h
dma-register.h
dma.h
dmabrg.h
dwarf.h sh: Replace __ASSEMBLY__ with __ASSEMBLER__ in all headers 2025-06-07 15:16:21 +02:00
elf.h
entry-macros.S
extable.h
fixmap.h
flat.h move asm/unaligned.h to linux/unaligned.h 2024-10-02 17:23:23 -04:00
fpu.h sh: Replace __ASSEMBLY__ with __ASSEMBLER__ in all headers 2025-06-07 15:16:21 +02:00
freq.h
ftrace.h sh: Replace __ASSEMBLY__ with __ASSEMBLER__ in all headers 2025-06-07 15:16:21 +02:00
futex-cas.h
futex-irq.h
futex-llsc.h
futex.h
hardirq.h
hd64461.h
heartbeat.h
hugetlb.h mm: consolidate common checks in hugetlb_get_unmapped_area 2024-11-06 20:11:10 -08:00
hw_breakpoint.h
hw_irq.h
i2c-sh7760.h
io.h - The 6 patch series "Enable strict percpu address space checks" from 2025-04-01 09:29:18 -07:00
io_generic.h
io_noioport.h
io_trapped.h
irq.h
irqflags.h
kdebug.h
kexec.h
kgdb.h
kprobes.h
linkage.h
machvec.h
mmiowb.h
mmu.h sh: Replace __ASSEMBLY__ with __ASSEMBLER__ in all headers 2025-06-07 15:16:21 +02:00
mmu_context.h
mmu_context_32.h
mmzone.h
module.h
page.h sh: Replace __ASSEMBLY__ with __ASSEMBLER__ in all headers 2025-06-07 15:16:21 +02:00
pci.h
perf_event.h
pgalloc.h mm: pgtable: convert some architectures to use tlb_remove_ptdesc() 2025-04-01 15:17:13 -07:00
pgtable-2level.h
pgtable-3level.h
pgtable.h sh: Replace __ASSEMBLY__ with __ASSEMBLER__ in all headers 2025-06-07 15:16:21 +02:00
pgtable_32.h mm: pgtable: fix pte_swp_exclusive 2025-06-11 14:52:08 -07:00
platform_early.h
posix_types.h
processor.h sh: Replace __ASSEMBLY__ with __ASSEMBLER__ in all headers 2025-06-07 15:16:21 +02:00
processor_32.h
ptrace.h
ptrace_32.h
push-switch.h
reboot.h
romimage-macros.h
rtc.h
seccomp.h
sections.h
setup.h
sfp-machine.h
sh7760fb.h
sh_bios.h
shmparam.h
siu.h
smc37c93x.h sh: Replace __ASSEMBLY__ with __ASSEMBLER__ in all headers 2025-06-07 15:16:21 +02:00
smp-ops.h
smp.h
sparsemem.h
spi.h
spinlock-cas.h
spinlock-llsc.h
spinlock.h
spinlock_types.h Improve consistency of '#error' directive messages 2024-11-11 17:17:04 -08:00
sram.h
stackprotector.h
stacktrace.h
string.h
string_32.h
suspend.h sh: Replace __ASSEMBLY__ with __ASSEMBLER__ in all headers 2025-06-07 15:16:21 +02:00
switch_to.h
switch_to_32.h
syscall.h
syscall_32.h syscall.h: introduce syscall_set_nr() 2025-05-11 17:48:15 -07:00
syscalls.h
syscalls_32.h
thread_info.h sh: Replace __ASSEMBLY__ with __ASSEMBLER__ in all headers 2025-06-07 15:16:21 +02:00
timex.h
tlb.h sh: Replace __ASSEMBLY__ with __ASSEMBLER__ in all headers 2025-06-07 15:16:21 +02:00
tlbflush.h
topology.h
traps.h
traps_32.h
types.h sh: Replace __ASSEMBLY__ with __ASSEMBLER__ in all headers 2025-06-07 15:16:21 +02:00
uaccess.h
uaccess_32.h
uncached.h
unistd.h
unwinder.h
user.h
vermagic.h
vmalloc.h
vmlinux.lds.h
watchdog.h
word-at-a-time.h