]> err.no Git - linux-2.6/commit
[PATCH] mutex subsystem, add default include/asm-*/mutex.h files
authorArjan van de Ven <arjan@infradead.org>
Mon, 9 Jan 2006 23:59:19 +0000 (15:59 -0800)
committerIngo Molnar <mingo@hera.kernel.org>
Mon, 9 Jan 2006 23:59:19 +0000 (15:59 -0800)
commit2acbb8c657af86b2fa5b185f1d7048385e310585
treebc106bb2665a9c6267e6cc4eec9085deedd9e636
parent823d0f4f67252115212eb86caba14d5795bbe643
[PATCH] mutex subsystem, add default include/asm-*/mutex.h files

add the per-arch mutex.h files for the remaining architectures.

We default to asm-generic/mutex-dec.h, because that performs
quite well on most arches. Arches that do not have atomic
decrement/increment instructions should switch to mutex-xchg.h
instead. Arches can also provide their own implementation for
the mutex fastpath primitives.

Signed-off-by: Arjan van de Ven <arjan@infradead.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
19 files changed:
include/asm-alpha/mutex.h [new file with mode: 0644]
include/asm-cris/mutex.h [new file with mode: 0644]
include/asm-frv/mutex.h [new file with mode: 0644]
include/asm-h8300/mutex.h [new file with mode: 0644]
include/asm-ia64/mutex.h [new file with mode: 0644]
include/asm-m32r/mutex.h [new file with mode: 0644]
include/asm-m68k/mutex.h [new file with mode: 0644]
include/asm-m68knommu/mutex.h [new file with mode: 0644]
include/asm-mips/mutex.h [new file with mode: 0644]
include/asm-parisc/mutex.h [new file with mode: 0644]
include/asm-powerpc/mutex.h [new file with mode: 0644]
include/asm-s390/mutex.h [new file with mode: 0644]
include/asm-sh/mutex.h [new file with mode: 0644]
include/asm-sh64/mutex.h [new file with mode: 0644]
include/asm-sparc/mutex.h [new file with mode: 0644]
include/asm-sparc64/mutex.h [new file with mode: 0644]
include/asm-um/mutex.h [new file with mode: 0644]
include/asm-v850/mutex.h [new file with mode: 0644]
include/asm-xtensa/mutex.h [new file with mode: 0644]