linux/arch/nios2/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
..
asm-macros.h
asm-offsets.h
cache.h
cacheflush.h mm: Introduce flush_cache_vmap_early() 2023-12-14 00:23:17 -08:00
cachetype.h Introduce cpu_dcache_is_aliasing() across all architectures 2024-02-22 15:27:19 -08:00
checksum.h unify generic instances of csum_partial_copy_nocheck() 2020-08-20 15:45:14 -04:00
cpuinfo.h
delay.h
elf.h
entry.h nios2: page fault et.al. are *not* restartable syscalls... 2022-08-15 11:25:31 -05:00
io.h asm-generic: provide generic page_to_phys and phys_to_page implementations 2024-10-28 21:44:28 +00:00
irq.h nios2: Do not include linux/irqdomain.h from asm/irq.h 2021-06-10 13:09:15 +01:00
irqflags.h NIOS2: irqflags: rename a redefined register name 2021-10-18 11:22:59 -05:00
Kbuild asm-generic: introduce text-patching.h 2024-11-07 14:25:15 -08:00
kgdb.h
linkage.h
mmu.h
mmu_context.h nios2: use asm-generic/mmu_context.h for no-op implementations 2020-10-27 16:02:36 +01:00
page.h vdso: Introduce vdso/page.h 2024-10-16 00:13:04 +02:00
pgalloc.h mm: pgtable: convert some architectures to use tlb_remove_ptdesc() 2025-04-01 15:17:13 -07:00
pgtable-bits.h nios2/mm: support __HAVE_ARCH_PTE_SWP_EXCLUSIVE 2023-02-02 22:33:08 -08:00
pgtable.h mm: pgtable: fix pte_swp_exclusive 2025-06-11 14:52:08 -07:00
processor.h nios2: remove unused INIT_MMAP 2022-11-08 17:37:19 -08:00
ptrace.h nios2: add force_successful_syscall_return() 2022-08-15 11:25:32 -05:00
registers.h NIOS2: irqflags: rename a redefined register name 2021-10-18 11:22:59 -05:00
setup.h
shmparam.h
string.h
switch_to.h
syscall.h syscall.h: introduce syscall_set_nr() 2025-05-11 17:48:15 -07:00
syscalls.h
thread_info.h nios2: _TIF_ALLWORK_MASK is unused 2023-03-05 20:21:04 -05:00
timex.h nios2: use fallback for random_get_entropy() instead of zero 2022-05-13 23:59:23 +02:00
tlb.h
tlbflush.h
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 nios2: convert to generic syscall table 2024-07-10 14:23:38 +02:00
vmalloc.h