summaryrefslogtreecommitdiff
path: root/arch/sh/include/asm/mutex.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/sh/include/asm/mutex.h')
-rw-r--r--arch/sh/include/asm/mutex.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/arch/sh/include/asm/mutex.h b/arch/sh/include/asm/mutex.h
index 458c1f7fbc18..d8e37716a4a0 100644
--- a/arch/sh/include/asm/mutex.h
+++ b/arch/sh/include/asm/mutex.h
@@ -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-llsc.h>
+#else
#include <asm-generic/mutex-dec.h>
+#endif