IB/ehca: Refactor "maybe missed event" code
authorJoachim Fenkes <fenkes@de.ibm.com>
Thu, 24 May 2007 14:51:05 +0000 (16:51 +0200)
committerRoland Dreier <rolandd@cisco.com>
Mon, 9 Jul 2007 23:17:32 +0000 (16:17 -0700)
Refactor the ehca changes from commit ed23a727 ("IB: Return "maybe
missed event" hint from ib_req_notify_cq()") so the queue arithmetic
is done in slightly fewer lines.  Also, move the spinlock flags into
the block they're used in.

Signed-off-by: Joachim Fenkes <fenkes@de.ibm.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>

No differences found