original_kernel/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
atomic.h [PATCH] asm-generic/atomic.h needs types.h 2006-01-08 20:12:38 -08:00
bitops.h
bug.h
cputime.h
div64.h
dma-mapping-broken.h
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
percpu.h
pgtable-nopmd.h
pgtable-nopud.h
pgtable.h
resource.h
rtc.h
sections.h
siginfo.h
signal.h
statfs.h
termios.h
tlb.h
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