aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/infiniband
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/infiniband')
-rw-r--r--drivers/infiniband/hw/ipath/ipath_intr.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/infiniband/hw/ipath/ipath_intr.c b/drivers/infiniband/hw/ipath/ipath_intr.c
index 037b8e276429..24853310df1c 100644
--- a/drivers/infiniband/hw/ipath/ipath_intr.c
+++ b/drivers/infiniband/hw/ipath/ipath_intr.c
@@ -842,11 +842,10 @@ static void handle_urcv(struct ipath_devdata *dd, u32 istat)
842 struct ipath_portdata *pd = dd->ipath_pd[i]; 842 struct ipath_portdata *pd = dd->ipath_pd[i];
843 if (portr & (1 << i) && pd && pd->port_cnt && 843 if (portr & (1 << i) && pd && pd->port_cnt &&
844 test_bit(IPATH_PORT_WAITING_RCV, &pd->port_flag)) { 844 test_bit(IPATH_PORT_WAITING_RCV, &pd->port_flag)) {
845 int rcbit;
846 clear_bit(IPATH_PORT_WAITING_RCV, 845 clear_bit(IPATH_PORT_WAITING_RCV,
847 &pd->port_flag); 846 &pd->port_flag);
848 rcbit = i + INFINIPATH_R_INTRAVAIL_SHIFT; 847 clear_bit(i + INFINIPATH_R_INTRAVAIL_SHIFT,
849 clear_bit(1UL << rcbit, &dd->ipath_rcvctrl); 848 &dd->ipath_rcvctrl);
850 wake_up_interruptible(&pd->port_wait); 849 wake_up_interruptible(&pd->port_wait);
851 rcvdint = 1; 850 rcvdint = 1;
852 } 851 }