summaryrefslogtreecommitdiff
path: root/arch/h8300/include/asm/mutex.h
diff options
context:
space:
mode:
authorYoshinori Sato <ysato@users.sourceforge.jp>2015-05-10 20:20:06 +0300
committerYoshinori Sato <ysato@users.sourceforge.jp>2015-06-23 07:35:49 +0300
commitd2a5f4999f6c211adf30d9788349e13988d6f2a7 (patch)
tree95f6ef1d8b1d4e3e078e462cc3ae73a4b519bc53 /arch/h8300/include/asm/mutex.h
parenta2ed0c57a546f5d99f795e97cd0b2769882031bc (diff)
downloadlinux-d2a5f4999f6c211adf30d9788349e13988d6f2a7.tar.xz
h8300: Assembly headers
Signed-off-by: Yoshinori Sato <ysato@users.sourceforge.jp>
Diffstat (limited to 'arch/h8300/include/asm/mutex.h')
-rw-r--r--arch/h8300/include/asm/mutex.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/arch/h8300/include/asm/mutex.h b/arch/h8300/include/asm/mutex.h
new file mode 100644
index 000000000000..458c1f7fbc18
--- /dev/null
+++ b/arch/h8300/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>