aboutsummaryrefslogtreecommitdiff
path: root/net/lapb/lapb_iface.c
diff options
context:
space:
mode:
authorEric Paris <[email protected]>2009-03-23 18:22:09 +0100
committerIngo Molnar <[email protected]>2009-04-29 16:45:54 +0200
commitb1fca26631f76a5e8b18435a43f5d82b8734da4b (patch)
tree6b8e651239219e85a6b3b9238878c4a6eb4f2d9c /net/lapb/lapb_iface.c
parent56a50adda49b2020156616c4eb15353e0f9ad7de (diff)
mutex: add atomic_dec_and_mutex_lock()
Much like the atomic_dec_and_lock() function in which we take an hold a spin_lock if we drop the atomic to 0 this function takes and holds the mutex if we dec the atomic to 0. Signed-off-by: Eric Paris <[email protected]> Signed-off-by: Peter Zijlstra <[email protected]> Cc: Paul Mackerras <[email protected]> Orig-LKML-Reference: <[email protected]> Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'net/lapb/lapb_iface.c')
0 files changed, 0 insertions, 0 deletions