26333576fd
Introduce test_and_set_bit_lock / clear_bit_unlock bitops with lock semantics. Convert all architectures to use the generic implementation. Signed-off-by: Nick Piggin <npiggin@suse.de> Acked-By: David Howells <dhowells@redhat.com> Cc: Richard Henderson <rth@twiddle.net> Cc: Ivan Kokshaysky <ink@jurassic.park.msu.ru> Cc: Russell King <rmk@arm.linux.org.uk> Cc: Haavard Skinnemoen <hskinnemoen@atmel.com> Cc: Bryan Wu <bryan.wu@analog.com> Cc: Mikael Starvik <starvik@axis.com> Cc: David Howells <dhowells@redhat.com> Cc: Yoshinori Sato <ysato@users.sourceforge.jp> Cc: "Luck, Tony" <tony.luck@intel.com> Cc: Hirokazu Takata <takata@linux-m32r.org> Cc: Geert Uytterhoeven <geert@linux-m68k.org> Cc: Roman Zippel <zippel@linux-m68k.org> Cc: Greg Ungerer <gerg@uclinux.org> Cc: Ralf Baechle <ralf@linux-mips.org> Cc: Kyle McMartin <kyle@mcmartin.ca> Cc: Matthew Wilcox <willy@debian.org> Cc: Paul Mackerras <paulus@samba.org> Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org> Cc: Heiko Carstens <heiko.carstens@de.ibm.com> Cc: Martin Schwidefsky <schwidefsky@de.ibm.com> Cc: Paul Mundt <lethal@linux-sh.org> Cc: Kazumoto Kojima <kkojima@rr.iij4u.or.jp> Cc: Richard Curnow <rc@rc0.org.uk> Cc: William Lee Irwin III <wli@holomorphy.com> Cc: "David S. Miller" <davem@davemloft.net> Cc: Jeff Dike <jdike@addtoit.com> Cc: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it> Cc: Miles Bader <uclinux-v850@lsi.nec.co.jp> Cc: Andi Kleen <ak@muc.de> Cc: Chris Zankel <chris@zankel.net> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org> |
||
---|---|---|
.. | ||
mach-bigsmp | ||
mach-default | ||
mach-es7000 | ||
mach-generic | ||
mach-numaq | ||
mach-summit | ||
mach-visws | ||
mach-voyager | ||
xen | ||
a.out_32.h | ||
a.out_64.h | ||
a.out.h | ||
acpi_32.h | ||
acpi_64.h | ||
acpi.h | ||
agp.h | ||
alternative_32.h | ||
alternative_64.h | ||
alternative-asm.h | ||
alternative.h | ||
apic_32.h | ||
apic_64.h | ||
apic.h | ||
apicdef_32.h | ||
apicdef_64.h | ||
apicdef.h | ||
arch_hooks.h | ||
atomic_32.h | ||
atomic_64.h | ||
atomic.h | ||
auxvec.h | ||
bitops_32.h | ||
bitops_64.h | ||
bitops.h | ||
boot.h | ||
bootparam.h | ||
bug.h | ||
bugs.h | ||
byteorder_32.h | ||
byteorder_64.h | ||
byteorder.h | ||
cache.h | ||
cacheflush.h | ||
calgary.h | ||
calling.h | ||
checksum_32.h | ||
checksum_64.h | ||
checksum.h | ||
cmpxchg_32.h | ||
cmpxchg_64.h | ||
cmpxchg.h | ||
compat.h | ||
cpu.h | ||
cpufeature_32.h | ||
cpufeature_64.h | ||
cpufeature.h | ||
cputime.h | ||
current_32.h | ||
current_64.h | ||
current.h | ||
debugreg.h | ||
delay.h | ||
desc_32.h | ||
desc_64.h | ||
desc_defs.h | ||
desc.h | ||
device.h | ||
div64_32.h | ||
div64_64.h | ||
div64.h | ||
dma_32.h | ||
dma_64.h | ||
dma-mapping_32.h | ||
dma-mapping_64.h | ||
dma-mapping.h | ||
dma.h | ||
dmi.h | ||
dwarf2_32.h | ||
dwarf2_64.h | ||
dwarf2.h | ||
e820_32.h | ||
e820_64.h | ||
e820.h | ||
edac.h | ||
elf_32.h | ||
elf_64.h | ||
elf.h | ||
emergency-restart.h | ||
errno.h | ||
fb.h | ||
fcntl.h | ||
fixmap_32.h | ||
fixmap_64.h | ||
fixmap.h | ||
floppy.h | ||
fpu32.h | ||
frame.h | ||
futex_32.h | ||
futex_64.h | ||
futex.h | ||
genapic_32.h | ||
genapic_64.h | ||
genapic.h | ||
geode.h | ||
hardirq_32.h | ||
hardirq_64.h | ||
hardirq.h | ||
highmem.h | ||
hpet.h | ||
hw_irq_32.h | ||
hw_irq_64.h | ||
hw_irq.h | ||
hypertransport.h | ||
i387_32.h | ||
i387_64.h | ||
i387.h | ||
i8253.h | ||
i8259.h | ||
ia32_unistd.h | ||
ia32.h | ||
ide.h | ||
idle.h | ||
intel_arch_perfmon.h | ||
io_32.h | ||
io_64.h | ||
io_apic_32.h | ||
io_apic_64.h | ||
io_apic.h | ||
io.h | ||
ioctl.h | ||
ioctls.h | ||
iommu.h | ||
ipcbuf.h | ||
ipi.h | ||
irq_32.h | ||
irq_64.h | ||
irq_regs_32.h | ||
irq_regs_64.h | ||
irq_regs.h | ||
irq.h | ||
irqflags_32.h | ||
irqflags_64.h | ||
irqflags.h | ||
ist.h | ||
k8.h | ||
Kbuild | ||
kdebug.h | ||
kexec_32.h | ||
kexec_64.h | ||
kexec.h | ||
kmap_types.h | ||
kprobes_32.h | ||
kprobes_64.h | ||
kprobes.h | ||
ldt.h | ||
linkage_32.h | ||
linkage_64.h | ||
linkage.h | ||
local_32.h | ||
local_64.h | ||
local.h | ||
mach_apic.h | ||
math_emu.h | ||
mc146818rtc_32.h | ||
mc146818rtc_64.h | ||
mc146818rtc.h | ||
mca_dma.h | ||
mca.h | ||
mce.h | ||
mman.h | ||
mmsegment.h | ||
mmu_32.h | ||
mmu_64.h | ||
mmu_context_32.h | ||
mmu_context_64.h | ||
mmu_context.h | ||
mmu.h | ||
mmx.h | ||
mmzone_32.h | ||
mmzone_64.h | ||
mmzone.h | ||
module_32.h | ||
module_64.h | ||
module.h | ||
mpspec_32.h | ||
mpspec_64.h | ||
mpspec_def.h | ||
mpspec.h | ||
msgbuf_32.h | ||
msgbuf_64.h | ||
msgbuf.h | ||
msidef.h | ||
msr_32.h | ||
msr_64.h | ||
msr-index.h | ||
msr.h | ||
mtrr_32.h | ||
mtrr_64.h | ||
mtrr.h | ||
mutex_32.h | ||
mutex_64.h | ||
mutex.h | ||
namei.h | ||
nmi_32.h | ||
nmi_64.h | ||
nmi.h | ||
numa_32.h | ||
numa_64.h | ||
numa.h | ||
numaq.h | ||
page_32.h | ||
page_64.h | ||
page.h | ||
param.h | ||
paravirt.h | ||
parport.h | ||
pci_32.h | ||
pci_64.h | ||
pci-direct.h | ||
pci.h | ||
pda.h | ||
percpu_32.h | ||
percpu_64.h | ||
percpu.h | ||
pgalloc_32.h | ||
pgalloc_64.h | ||
pgalloc.h | ||
pgtable_32.h | ||
pgtable_64.h | ||
pgtable-2level-defs.h | ||
pgtable-2level.h | ||
pgtable-3level-defs.h | ||
pgtable-3level.h | ||
pgtable.h | ||
poll.h | ||
posix_types_32.h | ||
posix_types_64.h | ||
posix_types.h | ||
prctl.h | ||
processor_32.h | ||
processor_64.h | ||
processor-cyrix.h | ||
processor-flags.h | ||
processor.h | ||
proto.h | ||
ptrace_32.h | ||
ptrace_64.h | ||
ptrace-abi.h | ||
ptrace.h | ||
reboot_fixups.h | ||
reboot.h | ||
required-features_32.h | ||
required-features_64.h | ||
required-features.h | ||
resource.h | ||
resume-trace_32.h | ||
resume-trace_64.h | ||
resume-trace.h | ||
rio.h | ||
rtc.h | ||
rwlock.h | ||
rwsem.h | ||
scatterlist_32.h | ||
scatterlist_64.h | ||
scatterlist.h | ||
seccomp_32.h | ||
seccomp_64.h | ||
seccomp.h | ||
sections.h | ||
segment_32.h | ||
segment_64.h | ||
segment.h | ||
semaphore_32.h | ||
semaphore_64.h | ||
semaphore.h | ||
sembuf.h | ||
serial.h | ||
setup_32.h | ||
setup_64.h | ||
setup.h | ||
shmbuf_32.h | ||
shmbuf_64.h | ||
shmbuf.h | ||
shmparam.h | ||
sigcontext32.h | ||
sigcontext_32.h | ||
sigcontext_64.h | ||
sigcontext.h | ||
siginfo.h | ||
signal_32.h | ||
signal_64.h | ||
signal.h | ||
smp_32.h | ||
smp_64.h | ||
smp.h | ||
socket.h | ||
sockios.h | ||
sparsemem_32.h | ||
sparsemem_64.h | ||
sparsemem.h | ||
spinlock_32.h | ||
spinlock_64.h | ||
spinlock_types.h | ||
spinlock.h | ||
srat.h | ||
stacktrace.h | ||
stat_32.h | ||
stat_64.h | ||
stat.h | ||
statfs_32.h | ||
statfs_64.h | ||
statfs.h | ||
string_32.h | ||
string_64.h | ||
string.h | ||
suspend_32.h | ||
suspend_64.h | ||
suspend.h | ||
swiotlb.h | ||
sync_bitops.h | ||
system_32.h | ||
system_64.h | ||
system.h | ||
tce.h | ||
termbits.h | ||
termios.h | ||
therm_throt.h | ||
thread_info_32.h | ||
thread_info_64.h | ||
thread_info.h | ||
time.h | ||
timer.h | ||
timex.h | ||
tlb.h | ||
tlbflush_32.h | ||
tlbflush_64.h | ||
tlbflush.h | ||
topology_32.h | ||
topology_64.h | ||
topology.h | ||
tsc.h | ||
types.h | ||
uaccess_32.h | ||
uaccess_64.h | ||
uaccess.h | ||
ucontext.h | ||
unaligned.h | ||
unistd_32.h | ||
unistd_64.h | ||
unistd.h | ||
unwind.h | ||
user32.h | ||
user_32.h | ||
user_64.h | ||
user.h | ||
vga.h | ||
vgtod.h | ||
vic.h | ||
vm86.h | ||
vmi_time.h | ||
vmi.h | ||
voyager.h | ||
vsyscall32.h | ||
vsyscall.h | ||
xor_32.h | ||
xor_64.h | ||
xor.h |