linux/arch/mips/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
..
dec
fw
ip32
mach-ath25
mach-ath79
mach-au1x00
mach-bcm47xx
mach-bcm63xx
mach-bmips
mach-cavium-octeon
mach-cobalt
mach-db1x00
mach-dec
mach-generic
mach-ingenic
mach-ip22
mach-ip27
mach-ip28
mach-ip30
mach-ip32
mach-jazz
mach-lantiq
mach-loongson2ef MIPS: loongson2ef: lemote-2f: add missing function prototypes 2025-05-30 14:19:02 +02:00
mach-loongson32
mach-loongson64
mach-malta
mach-n64
mach-pic32
mach-ralink
mach-rc32434
mach-rm
mach-sibyte
mach-tx49xx
mips-boards
octeon
pci
sgi
sibyte
sn
txx9
vdso
xtalk
Kbuild
abi.h
addrspace.h
amon.h
arch_hweight.h
asm-eva.h
asm-offsets.h
asm-prototypes.h
asm.h
asmmacro-32.h
asmmacro-64.h
asmmacro.h
atomic.h
barrier.h
bcache.h
bitops.h
bitrev.h
bmips-spaces.h
bmips.h
bootinfo.h
branch.h
break.h
bug.h
bugs.h
cache.h
cacheflush.h
cacheops.h
cachetype.h
cdmm.h
cevt-r4k.h
checksum.h
clocksource.h
cmp.h
cmpxchg.h
compat-signal.h
compat.h
compiler.h
cop2.h
cpu-features.h
cpu-info.h
cpu-type.h
cpu.h
cpufeature.h
debug.h
delay.h
div64.h
dma-direct.h
dma-mapping.h
dma.h
dmi.h
ds1287.h
dsemul.h
dsp.h
edac.h
elf.h
elfcore-compat.h
errno.h
eva.h
exec.h
extable.h
fixmap.h
floppy.h
fpregdef.h
fpu.h
fpu_emulator.h
ftrace.h
futex.h
ginvt.h
gio_device.h
gt64120.h
hardirq.h
hazards.h
highmem.h
hpet.h
hugetlb.h
hw_irq.h
i8259.h
idle.h MIPS: rename rollback_handler with skipover_handler 2025-04-27 10:12:44 +02:00
inst.h
io.h - The 6 patch series "Enable strict percpu address space checks" from 2025-04-01 09:29:18 -07:00
irq.h
irq_cpu.h
irq_gt641xx.h
irq_regs.h
irqflags.h
isa-rev.h
isadep.h
jazz.h
jazzdma.h
jump_label.h
kdebug.h
kexec.h
kgdb.h
kprobes.h
kvm_host.h
kvm_types.h
linkage.h
local.h
maar.h
machine.h
mc146818-time.h
mc146818rtc.h
mips-cm.h
mips-cpc.h
mips-cps.h
mips-gic.h
mips-r2-to-r6-emul.h
mips_mt.h
mipsmtregs.h
mipsprom.h
mipsregs.h
mmiowb.h
mmu.h
mmu_context.h
mmzone.h
module.h
msa.h
msc01_ic.h
paccess.h
page.h
pci.h
perf_event.h
pgalloc.h mm: pass mm down to pagetable_{pte,pmd}_ctor 2025-05-11 17:48:21 -07:00
pgtable-32.h
pgtable-64.h
pgtable-bits.h
pgtable.h mm: pgtable: fix pte_swp_exclusive 2025-06-11 14:52:08 -07:00
pm-cps.h
pm.h
prefetch.h
processor.h
prom.h
ptrace.h MIPS: Fix MAX_REG_OFFSET 2025-04-30 20:04:59 +02:00
r4k-timer.h
r4kcache.h
reboot.h
reg.h
regdef.h
rtlx.h
seccomp.h
setup.h
sgialib.h
sgiarcs.h
shmparam.h
sigcontext.h
signal.h
sim.h
smp-cps.h
smp-ops.h
smp.h
sni.h
socket.h mips, net: ensure that SOCK_COREDUMP is defined 2025-05-23 11:02:16 +02:00
sparsemem.h
spinlock.h
spinlock_types.h
spram.h
stackframe.h
stackprotector.h
stacktrace.h
string.h
switch_to.h
sync.h
syscall.h syscall.h: introduce syscall_set_nr() 2025-05-11 17:48:15 -07:00
syscalls.h
thread_info.h
time.h
timex.h
tlb.h
tlbdebug.h
tlbex.h
tlbflush.h
tlbmisc.h
topology.h MIPS: SMP: Implement parallel CPU bring up for EyeQ 2025-04-27 09:45:15 +02:00
traps.h
txx9irq.h
txx9pio.h
txx9tmr.h
types.h
uaccess.h
uasm.h
unaligned-emul.h
unistd.h
unroll.h
uprobes.h
vdso.h
vermagic.h
vga.h
video.h
vmalloc.h
vpe.h
watch.h
wbflush.h
yamon-dt.h