projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
arch, locking: Ciao arch_mutex_cpu_relax()
[firefly-linux-kernel-4.4.55.git]
/
lib
/
lockref.c
diff --git
a/lib/lockref.c
b/lib/lockref.c
index f07a40d33871e2b9414ea40b53ee154108932d4e..d2233de9a86e564f297e01305ddbc41392b3d2ee 100644
(file)
--- a/
lib/lockref.c
+++ b/
lib/lockref.c
@@
-1,6
+1,5
@@
#include <linux/export.h>
#include <linux/lockref.h>
-#include <linux/mutex.h>
#if USE_CMPXCHG_LOCKREF
@@
-29,7
+28,7
@@
if (likely(old.lock_count == prev.lock_count)) { \
SUCCESS; \
} \
-
arch_mutex_cpu_relax
(); \
+
cpu_relax_lowlatency
(); \
} \
} while (0)