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
mutex: Use p->on_cpu for the adaptive spin
[firefly-linux-kernel-4.4.55.git]
/
kernel
/
mutex.h
diff --git
a/kernel/mutex.h
b/kernel/mutex.h
index 67578ca48f94e1dad6f7cf3760c28d20a86605e2..4115fbf83b12ed11e2b05bc7cccfb5933cb3311d 100644
(file)
--- a/
kernel/mutex.h
+++ b/
kernel/mutex.h
@@
-19,7
+19,7
@@
#ifdef CONFIG_SMP
static inline void mutex_set_owner(struct mutex *lock)
{
- lock->owner = current
_thread_info()
;
+ lock->owner = current;
}
static inline void mutex_clear_owner(struct mutex *lock)