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/s390/include/asm/mutex.h | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 arch/s390/include/asm/mutex.h (limited to 'arch/s390/include/asm/mutex.h') diff --git a/arch/s390/include/asm/mutex.h b/arch/s390/include/asm/mutex.h new file mode 100644 index 00000000..688271f5 --- /dev/null +++ b/arch/s390/include/asm/mutex.h @@ -0,0 +1,11 @@ +/* + * 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) + */ + +#include + +#define arch_mutex_cpu_relax() barrier() -- cgit v1.3.1