Support for sh4a fastpath mutex implementation
RFC PATCH 1/1 Support for sh4a fastpath mutex implementation
Support for sh4a fastpath mutex implementation
Signed-off-by Michael Trimarchi <[email protected]>
--- arch/sh/include/asm/mutex.h | 5 ++++- 1 files changed, 4 insertions(+), 1 deletions(-)
arch/sh/include/asm/mutex.h +4 -1
@@ -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