mjg 331b02c0ea locks: fix recursion support after recent changes
When a relevant lockstat probe is enabled the fallback primitive is called with
a constant signifying a free lock. This works fine for typical cases but breaks
with recursion, since it checks if the passed value is that of the executing
thread.

Read the value if necessary.
2017-02-06 09:40:14 +00:00
..
2017-02-05 14:19:19 +00:00
2017-02-06 09:18:47 +00:00
2017-01-28 16:31:23 +00:00
2017-02-06 08:49:57 +00:00
2017-01-28 02:22:15 +00:00
2017-01-28 16:31:23 +00:00
2017-01-28 16:31:23 +00:00
2017-02-05 14:19:19 +00:00
2017-01-28 02:22:15 +00:00
2017-02-06 08:49:57 +00:00
2017-02-06 08:49:57 +00:00
2017-02-06 08:49:57 +00:00
2017-02-06 08:49:57 +00:00
2017-02-06 08:49:57 +00:00
2017-01-19 16:46:05 +00:00
2017-02-04 19:16:19 +00:00
2017-01-28 02:22:15 +00:00