]> www.infradead.org Git - users/jedix/linux-maple.git/commit
dtrace: use new mutex_owned(), not mutex_is_locked()
authorKris Van Hees <kris.van.hees@oracle.com>
Tue, 7 Feb 2012 09:31:48 +0000 (04:31 -0500)
committerNick Alcock <nick.alcock@oracle.com>
Mon, 29 Jun 2015 21:40:24 +0000 (22:40 +0100)
commit251c236cf5cc7c48cbacb283b6078d4024f3edae
treeff7ccbb9ccfaf6339d9eb67351075dd1f1cef393
parentdbc1a79adfdad277bb888255290a370a906ee983
dtrace: use new mutex_owned(), not mutex_is_locked()

This is used in our implementation 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>
include/linux/mutex.h