diff options
| author | Mukesh Ojha <[email protected]> | 2019-07-31 15:05:03 +0000 |
|---|---|---|
| committer | Peter Zijlstra <[email protected]> | 2019-08-06 10:49:16 +0000 |
| commit | 5f35d5a66b3ec62cb5ec4ec2ad9aebe2ac325673 (patch) | |
| tree | df9ea73b10d8939415d4931b8d5ec949fcd463bd /tools/perf/scripts/python/stat-cpi.py | |
| parent | locking/qspinlock,x86: Clarify virt_spin_lock_key (diff) | |
| download | kernel-5f35d5a66b3ec62cb5ec4ec2ad9aebe2ac325673.tar.gz kernel-5f35d5a66b3ec62cb5ec4ec2ad9aebe2ac325673.zip | |
locking/mutex: Make __mutex_owner static to mutex.c
__mutex_owner() should only be used by the mutex api's.
So, to put this restiction let's move the __mutex_owner()
function definition from linux/mutex.h to mutex.c file.
There exist functions that uses __mutex_owner() like
mutex_is_locked() and mutex_trylock_recursive(), So
to keep legacy thing intact move them as well and
export them.
Move mutex_waiter structure also to keep it private to the
file.
Signed-off-by: Mukesh Ojha <[email protected]>
Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
Cc: [email protected]
Cc: [email protected]
Link: https://lkml.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/stat-cpi.py')
0 files changed, 0 insertions, 0 deletions
