summaryrefslogtreecommitdiffstats
path: root/arch/avr32/include/asm/mutex.h
diff options
context:
space:
mode:
authorRussell King <rmk@dyn-67.arm.linux.org.uk>2008-08-07 10:55:16 +0200
committerRussell King <rmk+kernel@arm.linux.org.uk>2008-08-07 10:55:16 +0200
commita1b81a84fff05dbfef45b7012c26e1fee9973e5d (patch)
tree3d053e76542ad4d20bd83ad35c13eabff97003ab /arch/avr32/include/asm/mutex.h
parentMerge git://git.kernel.org/pub/scm/linux/kernel/git/sam/kbuild-fixes (diff)
parentavr32: Use <mach/foo.h> instead of <asm/arch/foo.h> (diff)
downloadlinux-a1b81a84fff05dbfef45b7012c26e1fee9973e5d.tar.xz
linux-a1b81a84fff05dbfef45b7012c26e1fee9973e5d.zip
Merge branch 'header-move' of git://git.kernel.org/pub/scm/linux/kernel/git/hskinnemoen/avr32-2.6
Diffstat (limited to 'arch/avr32/include/asm/mutex.h')
-rw-r--r--arch/avr32/include/asm/mutex.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/arch/avr32/include/asm/mutex.h b/arch/avr32/include/asm/mutex.h
new file mode 100644
index 000000000000..458c1f7fbc18
--- /dev/null
+++ b/arch/avr32/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>