]> Git Repo - linux.git/blobdiff - include/asm-s390/spinlock.h
[PATCH] Directed yield: cpu_relax variants for spinlocks and rw-locks
[linux.git] / include / asm-s390 / spinlock.h
index ce3edf6d63b3bdf4bac03a982d00151577843d4c..5f00feaf1be62865c8a10edffc159f85b4cbf976 100644 (file)
@@ -154,4 +154,8 @@ static inline int __raw_write_trylock(raw_rwlock_t *rw)
        return _raw_write_trylock_retry(rw);
 }
 
+#define _raw_spin_relax(lock)  cpu_relax()
+#define _raw_read_relax(lock)  cpu_relax()
+#define _raw_write_relax(lock) cpu_relax()
+
 #endif /* __ASM_SPINLOCK_H */
This page took 0.033325 seconds and 4 git commands to generate.