linux/arch/parisc/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
..
alternative.h parisc: Replace __ASSEMBLY__ with __ASSEMBLER__ in non-uapi headers 2025-05-04 20:46:27 +02:00
asm-offsets.h
asmregs.h
assembly.h parisc: Replace __ASSEMBLY__ with __ASSEMBLER__ in non-uapi headers 2025-05-04 20:46:27 +02:00
atomic.h
barrier.h parisc: Replace __ASSEMBLY__ with __ASSEMBLER__ in non-uapi headers 2025-05-04 20:46:27 +02:00
bitops.h
bug.h parisc: Fix asm operand number out of range build error in bug table 2023-11-27 11:01:38 +01:00
cache.h parisc: Replace __ASSEMBLY__ with __ASSEMBLER__ in non-uapi headers 2025-05-04 20:46:27 +02:00
cacheflush.h parisc: Try to fix random segmentation faults in package builds 2024-06-12 01:57:05 +02:00
cachetype.h Introduce cpu_dcache_is_aliasing() across all architectures 2024-02-22 15:27:19 -08:00
checksum.h parisc: Strip upper 32 bit of sum in csum_ipv6_magic for 64-bit builds 2024-02-27 22:51:45 +01:00
cmpxchg.h parisc: add u16 support to cmpxchg() 2024-04-09 22:06:00 -07:00
compat.h
compat_ucontext.h
current.h parisc: Replace __ASSEMBLY__ with __ASSEMBLER__ in non-uapi headers 2025-05-04 20:46:27 +02:00
delay.h
dma-mapping.h
dma.h
dwarf.h parisc: Replace __ASSEMBLY__ with __ASSEMBLER__ in non-uapi headers 2025-05-04 20:46:27 +02:00
eisa_bus.h
eisa_eeprom.h
elf.h parisc: fix mmap_base calculation when stack grows upwards 2023-11-15 15:30:09 -08:00
extable.h parisc: Fix random data corruption from exception handler 2024-01-30 17:18:58 +01:00
fixmap.h parisc: Replace __ASSEMBLY__ with __ASSEMBLER__ in non-uapi headers 2025-05-04 20:46:27 +02:00
floppy.h
ftrace.h parisc: Replace __ASSEMBLY__ with __ASSEMBLER__ in non-uapi headers 2025-05-04 20:46:27 +02:00
futex.h
grfioctl.h
hardirq.h
hardware.h
hash.h
hugetlb.h mm: hugetlb: Add huge page size param to huge_ptep_get_and_clear() 2025-02-27 17:40:57 +00:00
io.h - The 6 patch series "Enable strict percpu address space checks" from 2025-04-01 09:29:18 -07:00
irq.h
irqflags.h
jump_label.h parisc: Replace __ASSEMBLY__ with __ASSEMBLER__ in non-uapi headers 2025-05-04 20:46:27 +02:00
kbdleds.h
Kbuild
kexec.h parisc: Replace __ASSEMBLY__ with __ASSEMBLER__ in non-uapi headers 2025-05-04 20:46:27 +02:00
kfence.h
kgdb.h parisc: Replace __ASSEMBLY__ with __ASSEMBLER__ in non-uapi headers 2025-05-04 20:46:27 +02:00
kprobes.h parisc/kprobes: always include asm-generic/kprobes.h 2024-02-16 20:18:03 +01:00
ldcw.h parisc: Mark lock_aligned variables 16-byte aligned on SMP 2023-11-25 09:43:17 +01:00
led.h parisc: led: Rewrite LED/LCD driver to utilizize Linux LED subsystem 2023-08-28 17:58:14 +02:00
linkage.h parisc: Replace __ASSEMBLY__ with __ASSEMBLER__ in non-uapi headers 2025-05-04 20:46:27 +02:00
mman.h mm: refactor arch_calc_vm_flag_bits() and arm64 MTE handling 2024-11-05 16:49:55 -08:00
mmu.h
mmu_context.h
mmzone.h
module.h
page.h parisc: Replace __ASSEMBLY__ with __ASSEMBLER__ in non-uapi headers 2025-05-04 20:46:27 +02:00
parisc-device.h driver core: have match() callback in struct bus_type take a const * 2024-07-03 15:16:54 +02:00
parport.h
pci.h
pdc.h parisc: Replace __ASSEMBLY__ with __ASSEMBLER__ in non-uapi headers 2025-05-04 20:46:27 +02:00
pdc_chassis.h
pdcpat.h parisc: Replace __ASSEMBLY__ with __ASSEMBLER__ in non-uapi headers 2025-05-04 20:46:27 +02:00
perf.h
perf_event.h
pgalloc.h mm: pass mm down to pagetable_{pte,pmd}_ctor 2025-05-11 17:48:21 -07:00
pgtable.h mm: pgtable: fix pte_swp_exclusive 2025-06-11 14:52:08 -07:00
prefetch.h parisc: Replace __ASSEMBLY__ with __ASSEMBLER__ in non-uapi headers 2025-05-04 20:46:27 +02:00
processor.h parisc: Replace __ASSEMBLY__ with __ASSEMBLER__ in non-uapi headers 2025-05-04 20:46:27 +02:00
psw.h parisc: Replace __ASSEMBLY__ with __ASSEMBLER__ in non-uapi headers 2025-05-04 20:46:27 +02:00
ptrace.h
ropes.h parisc: sba-iommu: Fix sparse warnigs 2023-08-31 21:42:42 +02:00
rt_sigframe.h
runway.h parisc: ccio-dma: Create private runway procfs root entry 2023-08-28 18:00:27 +02:00
seccomp.h
sections.h
serial.h
shmparam.h parisc: shmparam.h: Document aliasing requirements of PA-RISC 2023-09-07 08:00:32 +02:00
signal.h parisc: Replace __ASSEMBLY__ with __ASSEMBLER__ in non-uapi headers 2025-05-04 20:46:27 +02:00
smp.h parisc: Replace __ASSEMBLY__ with __ASSEMBLER__ in non-uapi headers 2025-05-04 20:46:27 +02:00
socket.h
sparsemem.h
special_insns.h parisc: Fix random data corruption from exception handler 2024-01-30 17:18:58 +01:00
spinlock.h
spinlock_types.h parisc: Replace __ASSEMBLY__ with __ASSEMBLER__ in non-uapi headers 2025-05-04 20:46:27 +02:00
string.h
superio.h
switch_to.h
syscall.h syscall.h: introduce syscall_set_nr() 2025-05-11 17:48:15 -07:00
text-patching.h asm-generic: introduce text-patching.h 2024-11-07 14:25:15 -08:00
thread_info.h parisc: Replace __ASSEMBLY__ with __ASSEMBLER__ in non-uapi headers 2025-05-04 20:46:27 +02:00
timex.h
tlb.h
tlbflush.h
topology.h
traps.h parisc: Replace __ASSEMBLY__ with __ASSEMBLER__ in non-uapi headers 2025-05-04 20:46:27 +02:00
uaccess.h parisc: Fix random data corruption from exception handler 2024-01-30 17:18:58 +01:00
ucontext.h
unistd.h parisc: Replace __ASSEMBLY__ with __ASSEMBLER__ in non-uapi headers 2025-05-04 20:46:27 +02:00
unwind.h
vdso.h parisc: Replace __ASSEMBLY__ with __ASSEMBLER__ in non-uapi headers 2025-05-04 20:46:27 +02:00
video.h arch: Rename fbdev header and source files 2024-05-03 17:07:50 +02:00
vmalloc.h