Skip to contentSkip to conversation

Support for sh4a fastpath mutex implementation

RFC PATCH New Michael Trimarchi 1 participant 1 message Nov 20, 2008 SuperH

lore
Share & tools
lore
#0 lore raw

RFC PATCH 1/1 Support for sh4a fastpath mutex implementation

Support for sh4a fastpath mutex implementation

---
 arch/sh/include/asm/mutex.h |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)
arch/sh/include/asm/mutex.h +4 -1
index 458c1f7..24b7a98 100644
@@ -5,5 +5,8 @@
  * implementation in place, or pick the atomic_xchg() based generic
  * implementation. (see asm-generic/mutex-xchg.h for details)
  */
-
+#if defined(CONFIG_CPU_SH4A)
+#include <asm/mutex_sh.h>
+#else
 #include <asm-generic/mutex-dec.h>
+#endif
Signature · 1 line
1.5.6.5