]> err.no Git - linux-2.6/commit
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)
commitfffba373ef8cc9a5881353395c4edd1ab27cf154
tree53b83634f9e9a4978c56c3c03d19fa58182a2556
parent1bae4dbf9576e563da23927e4078fffbbce67a75
IB/ehca: Refactor "maybe missed event" code

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>
drivers/infiniband/hw/ehca/ehca_reqs.c
drivers/infiniband/hw/ehca/ipz_pt_fn.h