linux-stable-rt/include/asm-generic
Ingo Molnar 620a6fd185 [PATCH] mutex subsystem, add asm-generic/mutex-[dec|xchg|null].h implementations
Add three (generic) mutex fastpath implementations.

The mutex-xchg.h implementation is atomic_xchg() based, and should
work fine on every architecture.

The mutex-dec.h implementation is atomic_dec_return() based - this
one too should work on every architecture, but might not perform the
most optimally on architectures that have no atomic-dec/inc instructions.

The mutex-null.h implementation forces all calls into the slowpath. This
is used for mutex debugging, but it can also be used on platforms that do
not want (or need) a fastpath at all.

Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Arjan van de Ven <arjan@infradead.org>
2006-01-09 15:59:17 -08:00
..
4level-fixup.h [PATCH] mm: ptd_alloc inline and out 2005-10-29 21:40:40 -07:00
atomic.h [PATCH] asm-generic/atomic.h needs types.h 2006-01-08 20:12:38 -08:00
bitops.h [FLS64]: generic version 2006-01-03 13:11:06 -08:00
bug.h
cputime.h
div64.h
dma-mapping-broken.h [PATCH] gfp_t: dma-mapping (simple cases) 2005-10-28 08:16:49 -07:00
dma-mapping.h [PATCH] Kill L1_CACHE_SHIFT_MAX 2006-01-08 20:13:39 -08:00
emergency-restart.h
errno-base.h
errno.h
fcntl.h
futex.h [PATCH] consolidate asm/futex.h 2006-01-08 20:13:39 -08:00
ide_iops.h
iomap.h
ipc.h
local.h
mutex-dec.h [PATCH] mutex subsystem, add asm-generic/mutex-[dec|xchg|null].h implementations 2006-01-09 15:59:17 -08:00
mutex-null.h [PATCH] mutex subsystem, add asm-generic/mutex-[dec|xchg|null].h implementations 2006-01-09 15:59:17 -08:00
mutex-xchg.h [PATCH] mutex subsystem, add asm-generic/mutex-[dec|xchg|null].h implementations 2006-01-09 15:59:17 -08:00
page.h
pci-dma-compat.h
pci.h [PATCH] Make sparc64 use setup-res.c 2005-09-08 14:57:25 -07:00
percpu.h
pgtable-nopmd.h
pgtable-nopud.h
pgtable.h [PATCH] fix remaining missing includes 2005-11-07 07:53:41 -08:00
resource.h
rtc.h
sections.h [PATCH] x86_64: Only use asm/sections.h to declare section symbols 2005-11-14 19:55:14 -08:00
siginfo.h
signal.h
statfs.h
termios.h
tlb.h [PATCH] mm: tlb_finish_mmu forget rss 2005-10-29 21:40:37 -07:00
topology.h
uaccess.h
unaligned.h
vmlinux.lds.h [PATCH] x86/x86_64: mark rodata section read only: generic infrastructure 2006-01-06 08:33:36 -08:00
xor.h