From: Roland Dreier Date: Sun, 6 Sep 2009 03:36:15 +0000 (-0700) Subject: IB/mthca: Annotate CQ locking X-Git-Tag: v2.6.32-rc1~736^2~1^7~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ffe063f32bacad7d5111ae9c2b3e31addb47ce39;p=pandora-kernel.git 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 --- Reading git-diff-tree failed