]> www.infradead.org Git - users/jedix/linux-maple.git/commit
Changed from using mutex_is_locked() to a new mutex_owned(), in support of the
authorKris Van Hees <kris.van.hees@oracle.com>
Tue, 7 Feb 2012 09:31:48 +0000 (04:31 -0500)
committerKris Van Hees <kris.van.hees@oracle.com>
Tue, 7 Feb 2012 09:31:48 +0000 (04:31 -0500)
commit4653fb95848fb079f4d58fda4ef63411e30b1a36
treed3e6bdeb8ff51c727156aa6a3ae4ca2361ebd2e8
parent92efb6e82c11e8f241b272aab152f21bbd83d125
Changed from using mutex_is_locked() to a new mutex_owned(), in support of the
Solaris MUTEX_HELD() macro.  The former was merely testing whether the mutex was
locked, whereas the real test needed here is whether the mutex is held by the
current thread.

Signed-off-by: Kris Van Hees <kris.van.hees@oracle.com>
12 files changed:
dtrace/dtrace.h
dtrace/dtrace_anon.c
dtrace/dtrace_buffer.c
dtrace/dtrace_dif.c
dtrace/dtrace_dof.c
dtrace/dtrace_ecb.c
dtrace/dtrace_enable.c
dtrace/dtrace_predicate.c
dtrace/dtrace_probe.c
dtrace/dtrace_ptofapi.c
dtrace/dtrace_state.c
dtrace/profile_dev.c