summaryrefslogtreecommitdiffstats
path: root/arch/blackfin/include/asm/mutex.h
diff options
context:
space:
mode:
authorBryan Wu2008-08-27 04:51:02 +0200
committerBryan Wu2008-08-27 04:51:02 +0200
commit639f6571458948b5112be2cf00c0c2c04db2897d (patch)
treea4dd7af33d0e92c935ba1e904f6fb7e923ac825e /arch/blackfin/include/asm/mutex.h
parentBlackfin arch: fix bug - MPU crashes under stress (diff)
downloadkernel-qcow2-linux-639f6571458948b5112be2cf00c0c2c04db2897d.tar.gz
kernel-qcow2-linux-639f6571458948b5112be2cf00c0c2c04db2897d.tar.xz
kernel-qcow2-linux-639f6571458948b5112be2cf00c0c2c04db2897d.zip
Blackfin arch: move include/asm-blackfin header files to arch/blackfin
Signed-off-by: Bryan Wu <cooloney@kernel.org>
Diffstat (limited to 'arch/blackfin/include/asm/mutex.h')
-rw-r--r--arch/blackfin/include/asm/mutex.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/arch/blackfin/include/asm/mutex.h b/arch/blackfin/include/asm/mutex.h
new file mode 100644
index 000000000000..458c1f7fbc18
--- /dev/null
+++ b/arch/blackfin/include/asm/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>