IB/qib: Avoid duplicate writes to the rcv head register
authorMike Marciniszyn <mike.marciniszyn@qlogic.com>
Tue, 11 Jan 2011 01:42:21 +0000 (17:42 -0800)
committerRoland Dreier <rolandd@cisco.com>
Tue, 11 Jan 2011 01:42:21 +0000 (17:42 -0800)
commitaa7374ac19ca08715693b0a2d9f88f479af3ea7c
treedcdc8913026be84b1cc9d072d7a6c9103b7740f1
parente706203c7c1cff8c27f9ce6d58911014a6bd826c
IB/qib: Avoid duplicate writes to the rcv head register

Avoid duplicate writes to the head register as this can lead to lost
interrupts if the context goes full before the second write is done.

Signed-off-by: Mike Marciniszyn <mike.marciniszyn@qlogic.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/infiniband/hw/qib/qib_driver.c