.. | .. |
---|
270 | 270 | */ |
---|
271 | 271 | r = ll_pthread_mutex_lock(mutex); |
---|
272 | 272 | if (r) |
---|
273 | | - lock_release(&__get_lock(mutex)->dep_map, 0, (unsigned long)_RET_IP_); |
---|
| 273 | + lock_release(&__get_lock(mutex)->dep_map, (unsigned long)_RET_IP_); |
---|
274 | 274 | |
---|
275 | 275 | return r; |
---|
276 | 276 | } |
---|
.. | .. |
---|
284 | 284 | lock_acquire(&__get_lock(mutex)->dep_map, 0, 1, 0, 1, NULL, (unsigned long)_RET_IP_); |
---|
285 | 285 | r = ll_pthread_mutex_trylock(mutex); |
---|
286 | 286 | if (r) |
---|
287 | | - lock_release(&__get_lock(mutex)->dep_map, 0, (unsigned long)_RET_IP_); |
---|
| 287 | + lock_release(&__get_lock(mutex)->dep_map, (unsigned long)_RET_IP_); |
---|
288 | 288 | |
---|
289 | 289 | return r; |
---|
290 | 290 | } |
---|
.. | .. |
---|
295 | 295 | |
---|
296 | 296 | try_init_preload(); |
---|
297 | 297 | |
---|
298 | | - lock_release(&__get_lock(mutex)->dep_map, 0, (unsigned long)_RET_IP_); |
---|
| 298 | + lock_release(&__get_lock(mutex)->dep_map, (unsigned long)_RET_IP_); |
---|
299 | 299 | /* |
---|
300 | 300 | * Just like taking a lock, only in reverse! |
---|
301 | 301 | * |
---|
.. | .. |
---|
355 | 355 | lock_acquire(&__get_lock(rwlock)->dep_map, 0, 0, 2, 1, NULL, (unsigned long)_RET_IP_); |
---|
356 | 356 | r = ll_pthread_rwlock_rdlock(rwlock); |
---|
357 | 357 | if (r) |
---|
358 | | - lock_release(&__get_lock(rwlock)->dep_map, 0, (unsigned long)_RET_IP_); |
---|
| 358 | + lock_release(&__get_lock(rwlock)->dep_map, (unsigned long)_RET_IP_); |
---|
359 | 359 | |
---|
360 | 360 | return r; |
---|
361 | 361 | } |
---|
.. | .. |
---|
369 | 369 | lock_acquire(&__get_lock(rwlock)->dep_map, 0, 1, 2, 1, NULL, (unsigned long)_RET_IP_); |
---|
370 | 370 | r = ll_pthread_rwlock_tryrdlock(rwlock); |
---|
371 | 371 | if (r) |
---|
372 | | - lock_release(&__get_lock(rwlock)->dep_map, 0, (unsigned long)_RET_IP_); |
---|
| 372 | + lock_release(&__get_lock(rwlock)->dep_map, (unsigned long)_RET_IP_); |
---|
373 | 373 | |
---|
374 | 374 | return r; |
---|
375 | 375 | } |
---|
.. | .. |
---|
383 | 383 | lock_acquire(&__get_lock(rwlock)->dep_map, 0, 1, 0, 1, NULL, (unsigned long)_RET_IP_); |
---|
384 | 384 | r = ll_pthread_rwlock_trywrlock(rwlock); |
---|
385 | 385 | if (r) |
---|
386 | | - lock_release(&__get_lock(rwlock)->dep_map, 0, (unsigned long)_RET_IP_); |
---|
| 386 | + lock_release(&__get_lock(rwlock)->dep_map, (unsigned long)_RET_IP_); |
---|
387 | 387 | |
---|
388 | 388 | return r; |
---|
389 | 389 | } |
---|
.. | .. |
---|
397 | 397 | lock_acquire(&__get_lock(rwlock)->dep_map, 0, 0, 0, 1, NULL, (unsigned long)_RET_IP_); |
---|
398 | 398 | r = ll_pthread_rwlock_wrlock(rwlock); |
---|
399 | 399 | if (r) |
---|
400 | | - lock_release(&__get_lock(rwlock)->dep_map, 0, (unsigned long)_RET_IP_); |
---|
| 400 | + lock_release(&__get_lock(rwlock)->dep_map, (unsigned long)_RET_IP_); |
---|
401 | 401 | |
---|
402 | 402 | return r; |
---|
403 | 403 | } |
---|
.. | .. |
---|
408 | 408 | |
---|
409 | 409 | init_preload(); |
---|
410 | 410 | |
---|
411 | | - lock_release(&__get_lock(rwlock)->dep_map, 0, (unsigned long)_RET_IP_); |
---|
| 411 | + lock_release(&__get_lock(rwlock)->dep_map, (unsigned long)_RET_IP_); |
---|
412 | 412 | r = ll_pthread_rwlock_unlock(rwlock); |
---|
413 | 413 | if (r) |
---|
414 | 414 | lock_acquire(&__get_lock(rwlock)->dep_map, 0, 0, 0, 1, NULL, (unsigned long)_RET_IP_); |
---|