From 8e4bff4cab0ddac6060645b0715210484d02ff40 Mon Sep 17 00:00:00 2001 From: Yuval Adam <_@yuv.al> Date: Wed, 30 Aug 2017 08:25:59 +0000 Subject: Initial file dump from open source release --- arch/sh/include/asm/mutex.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 arch/sh/include/asm/mutex.h (limited to 'arch/sh/include/asm/mutex.h') diff --git a/arch/sh/include/asm/mutex.h b/arch/sh/include/asm/mutex.h new file mode 100644 index 00000000..d8e37716 --- /dev/null +++ b/arch/sh/include/asm/mutex.h @@ -0,0 +1,12 @@ +/* + * 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) + */ +#if defined(CONFIG_CPU_SH4A) +#include +#else +#include +#endif -- cgit v1.3.1