aboutsummaryrefslogtreecommitdiffstats
path: root/arch/hexagon/include/asm/mutex.h
diff options
context:
space:
mode:
authorRichard Kuo <rkuo@codeaurora.org>2011-10-31 18:26:34 -0500
committerLinus Torvalds <torvalds@linux-foundation.org>2011-11-01 07:34:18 -0700
commitcd8e65fb96f3ce8eee91c2032720f0ba143627e1 (patch)
tree9263c3c7fec63b1f9a7d163ba17b584194764303 /arch/hexagon/include/asm/mutex.h
parentLinux 3.1 (diff)
downloadlinux-dev-cd8e65fb96f3ce8eee91c2032720f0ba143627e1.tar.xz
linux-dev-cd8e65fb96f3ce8eee91c2032720f0ba143627e1.zip
Hexagon: Add generic headers
Signed-off-by: Richard Kuo <rkuo@codeaurora.org> Signed-off-by: Linas Vepstas <linas@codeaurora.org> Acked-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/hexagon/include/asm/mutex.h')
-rw-r--r--arch/hexagon/include/asm/mutex.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/hexagon/include/asm/mutex.h b/arch/hexagon/include/asm/mutex.h
new file mode 100644
index 000000000000..58b52de1bc22
--- /dev/null
+++ b/arch/hexagon/include/asm/mutex.h
@@ -0,0 +1,8 @@
+/*
+ * 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-xchg.h>