diff options
author | Michael Trimarchi <trimarchimichael@yahoo.it> | 2008-11-25 21:37:14 +0900 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2008-12-22 18:42:55 +0900 |
commit | 0c9122323acb0c3410dfbd219cb47f4c2e9305e3 (patch) | |
tree | c5ea7c01289bf07e4ad6b5cdd4e830c9122d8e95 /arch/sh/include/asm/mutex.h | |
parent | 5c72f303a2b7862dbba79f4176ddc922a440b567 (diff) |
sh: Add SH-4A optimized fastpath mutex implementation.
Add fast mutex path implementation for the SH4A architecture
Signed-off-by: Michael Trimarchi <trimarchimichael@yahoo.it>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/include/asm/mutex.h')
-rw-r--r-- | arch/sh/include/asm/mutex.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/arch/sh/include/asm/mutex.h b/arch/sh/include/asm/mutex.h index 458c1f7fbc1..d8e37716a4a 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 |