Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 76803
b: refs/heads/master
c: 2f01a70
h: refs/heads/master
i:
  76801: 1b96cd8
  76799: 7464370
v: v3
  • Loading branch information
Arthur Jones authored and Roland Dreier committed Jan 25, 2008
1 parent 926d6bd commit ab6617d
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 6276980138292056aab162f7eb98afe5243b2976
refs/heads/master: 2f01a7001131bbf3ce1e39252bf72aea2da034df
10 changes: 9 additions & 1 deletion trunk/drivers/infiniband/hw/ipath/ipath_intr.c
Original file line number Diff line number Diff line change
Expand Up @@ -954,7 +954,15 @@ static void handle_urcv(struct ipath_devdata *dd, u32 istat)
int i;
int rcvdint = 0;

/* test_bit below needs this... */
/*
* test_and_clear_bit(IPATH_PORT_WAITING_RCV) and
* test_and_clear_bit(IPATH_PORT_WAITING_URG) below
* would both like timely updates of the bits so that
* we don't pass them by unnecessarily. the rmb()
* here ensures that we see them promptly -- the
* corresponding wmb()'s are in ipath_poll_urgent()
* and ipath_poll_next()...
*/
rmb();
portr = ((istat >> INFINIPATH_I_RCVAVAIL_SHIFT) &
dd->ipath_i_rcvavail_mask)
Expand Down

0 comments on commit ab6617d

Please sign in to comment.