diff options
author | Roland Dreier <rolandd@cisco.com> | 2009-09-05 20:36:15 -0700 |
---|---|---|
committer | Roland Dreier <rolandd@cisco.com> | 2009-09-05 20:36:15 -0700 |
commit | ffe063f32bacad7d5111ae9c2b3e31addb47ce39 (patch) | |
tree | a89ced9ae4f10ee6440fb7c22c0b020e940c6ef2 /fs/configfs | |
parent | deecb5d6728fff5288b6f7241ee8225ba0d8c6d2 (diff) | |
download | linux-ffe063f32bacad7d5111ae9c2b3e31addb47ce39.tar.gz linux-ffe063f32bacad7d5111ae9c2b3e31addb47ce39.tar.bz2 linux-ffe063f32bacad7d5111ae9c2b3e31addb47ce39.zip |
IB/mthca: Annotate CQ locking
mthca_ib_lock_cqs()/mthca_ib_unlock_cqs() are helper functions that
lock/unlock both CQs attached to a QP in the proper order to avoid
AB-BA deadlocks. Annotate this so sparse can understand what's going
on (and warn us if we misuse these functions).
Signed-off-by: Roland Dreier <rolandd@cisco.com>
Diffstat (limited to 'fs/configfs')
0 files changed, 0 insertions, 0 deletions