linux/arch/csky/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
..
addrspace.h csky: Fixup compile error 2021-02-27 22:04:14 +08:00
asid.h csky: Fixup typos 2021-04-20 09:58:29 +08:00
atomic.h locking/atomic: make atomic*_{cmp,}xchg optional 2023-06-05 09:57:14 +02:00
barrier.h csky: atomic: Optimize cmpxchg with acquire & release 2022-04-25 13:51:42 +08:00
bitops.h include: move find.h from asm_generic to linux 2022-01-15 08:47:31 -08:00
bug.h csky: Fixup compile error 2021-02-27 22:04:14 +08:00
cache.h
cacheflush.h csky: Fixup compile error 2021-02-27 22:04:14 +08:00
cachetype.h Introduce cpu_dcache_is_aliasing() across all architectures 2024-02-22 15:27:19 -08:00
checksum.h csky: Fixup compile error 2021-02-27 22:04:14 +08:00
clocksource.h csky: Add VDSO with GENERIC_GETTIMEOFDAY, GENERIC_TIME_VSYSCALL, HAVE_GENERIC_VDSO 2021-02-27 16:35:09 +08:00
cmpxchg.h csky: Emulate one-byte cmpxchg 2024-05-11 07:07:07 -07:00
elf.h csky: Fixup compile error 2021-02-27 22:04:14 +08:00
fixmap.h csky: Fixup compile error 2021-02-27 22:04:14 +08:00
ftrace.h function_graph: Everyone uses HAVE_FUNCTION_GRAPH_RET_ADDR_PTR, remove it 2024-06-11 11:18:24 -04:00
futex.h csky: Fixup futex SMP implementation 2021-01-12 09:52:40 +08:00
highmem.h csky: Fixup compile error 2021-02-27 22:04:14 +08:00
io.h mm/ioremap: pass pgprot_t to ioremap_prot() instead of unsigned long 2025-03-16 22:06:23 -07:00
irq_work.h arch: consolidate arch_irq_work_raise prototypes 2023-11-23 11:32:29 +01:00
irqflags.h
jump_label.h work around gcc bugs with 'asm goto' with outputs 2024-02-09 15:57:48 -08:00
Kbuild asm-generic: introduce text-patching.h 2024-11-07 14:25:15 -08:00
kprobes.h kprobes: treewide: Make it harder to refer kretprobe_trampoline directly 2021-09-30 21:24:06 -04:00
memory.h csky: Add memory layout 2.5G(user):1.5G(kernel) 2021-01-12 09:52:40 +08:00
mmu.h csky: Fixup compile error 2021-02-27 22:04:14 +08:00
mmu_context.h csky: Fixup compile error 2021-02-27 22:04:14 +08:00
page.h asm-generic updates for 6.13 2024-11-20 15:13:02 -08:00
pci.h asm-generic: Add new pci.h and use it 2022-07-22 17:34:57 -05:00
perf_event.h csky: Fixup compile error 2021-02-27 22:04:14 +08:00
pgalloc.h mm: call ctor/dtor for kernel PTEs 2025-05-11 17:48:21 -07:00
pgtable.h mm: pgtable: fix pte_swp_exclusive 2025-06-11 14:52:08 -07:00
probes.h
processor.h csky: Remove kernel_thread declaration 2023-03-12 10:52:42 +01:00
ptrace.h csky: Fixup -Wmissing-prototypes warning 2023-08-10 23:06:32 -04:00
reg_ops.h
seccomp.h
sections.h csky: Fixup -Wmissing-prototypes warning 2023-08-10 23:06:32 -04:00
shmparam.h csky: Fixup compile error 2021-02-27 22:04:14 +08:00
smp.h csky/smp: Switch to hotplug core state synchronization 2023-05-15 13:44:58 +02:00
spinlock.h csky: Add qspinlock support 2022-07-31 05:24:42 -04:00
spinlock_types.h csky: Add qspinlock support 2022-07-31 05:24:42 -04:00
stackprotector.h stackprotector: actually use get_random_canary() 2022-11-18 02:18:10 +01:00
string.h csky: Fixup compile error 2021-02-27 22:04:14 +08:00
switch_to.h csky: Fixup compile error 2021-02-27 22:04:14 +08:00
syscall.h syscall.h: add syscall_set_arguments() 2025-05-11 17:48:15 -07:00
syscalls.h csky: Fixup compile error 2021-02-27 22:04:14 +08:00
tcm.h
thread_info.h uaccess: remove CONFIG_SET_FS 2022-02-25 09:36:06 +01:00
tlb.h csky/tlb: Remove tlb_flush() define 2022-07-21 10:50:13 -07:00
tlbflush.h csky: Fixup compile error 2021-02-27 22:04:14 +08:00
traps.h arch: add do_page_fault prototypes 2023-11-23 11:32:32 +01:00
uaccess.h uaccess: remove CONFIG_SET_FS 2022-02-25 09:36:06 +01:00
unistd.h csky: convert to generic syscall table 2024-07-10 14:23:38 +02:00
uprobes.h
vdso.h csky/vdso: Remove superfluous ifdeffery 2024-02-20 20:56:00 +01:00
vmalloc.h