IB/ipath: Fix sendctrl locking
authorJohn Gregor <john.gregor@qlogic.com>
Wed, 5 Sep 2007 08:57:14 +0000 (01:57 -0700)
committerRoland Dreier <rolandd@cisco.com>
Fri, 25 Jan 2008 22:15:27 +0000 (14:15 -0800)
commite342c119172f87f2d812bccfd0283f62e1bc1c2a
tree52eb0e75f5f894ab7f0f3c755f0876f18637e5a9
parent9ab4295d1d9ab10a249aea002060685f935a528c
IB/ipath: Fix sendctrl locking

Code review pointed out that the locking around uses of ipath_sendctrl
and kr_sendctrl were, in several places, incorrect and/or inconsistent.

Signed-off-by: John Gregor <john.gregor@qlogic.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/infiniband/hw/ipath/ipath_driver.c
drivers/infiniband/hw/ipath/ipath_file_ops.c
drivers/infiniband/hw/ipath/ipath_init_chip.c
drivers/infiniband/hw/ipath/ipath_intr.c
drivers/infiniband/hw/ipath/ipath_kernel.h
drivers/infiniband/hw/ipath/ipath_ruc.c