summaryrefslogtreecommitdiffstats
path: root/include/asm-sh/mutex.h
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@g5.osdl.org>2006-01-10 02:31:38 +0100
committerLinus Torvalds <torvalds@g5.osdl.org>2006-01-10 02:31:38 +0100
commit80c0531514516e43ae118ddf38424e06e5c3cb3c (patch)
tree2eef8cf8fdf505b18f83078d1eb41167e98f5b54 /include/asm-sh/mutex.h
parentMerge git://git.kernel.org/pub/scm/linux/kernel/git/bunk/trivial (diff)
parent[PATCH] mutex subsystem, semaphore to completion: drivers/block/loop.c (diff)
downloadlinux-80c0531514516e43ae118ddf38424e06e5c3cb3c.tar.xz
linux-80c0531514516e43ae118ddf38424e06e5c3cb3c.zip
Merge master.kernel.org:/pub/scm/linux/kernel/git/mingo/mutex-2.6
Diffstat (limited to 'include/asm-sh/mutex.h')
-rw-r--r--include/asm-sh/mutex.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/include/asm-sh/mutex.h b/include/asm-sh/mutex.h
new file mode 100644
index 000000000000..458c1f7fbc18
--- /dev/null
+++ b/include/asm-sh/mutex.h
@@ -0,0 +1,9 @@
+/*
+ * Pull in the generic implementation for the mutex fastpath.
+ *
+ * TODO: implement optimized primitives instead, or leave the generic
+ * implementation in place, or pick the atomic_xchg() based generic
+ * implementation. (see asm-generic/mutex-xchg.h for details)
+ */
+
+#include <asm-generic/mutex-dec.h>