Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 67142
b: refs/heads/master
c: 76d7cc0
h: refs/heads/master
v: v3
  • Loading branch information
Roland Dreier committed Oct 10, 2007
1 parent 04b6e46 commit d6c7feb
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: dcb3f974da827c964cb8d419fbb4350cdc08a559
refs/heads/master: 76d7cc0345a037e8eea426f8abc710abd22946dd
6 changes: 6 additions & 0 deletions trunk/drivers/infiniband/hw/mthca/mthca_cmd.c
Original file line number Diff line number Diff line change
Expand Up @@ -290,6 +290,12 @@ static int mthca_cmd_post(struct mthca_dev *dev,
err = mthca_cmd_post_hcr(dev, in_param, out_param, in_modifier,
op_modifier, op, token, event);

/*
* Make sure that our HCR writes don't get mixed in with
* writes from another CPU starting a FW command.
*/
mmiowb();

mutex_unlock(&dev->cmd.hcr_mutex);
return err;
}
Expand Down

0 comments on commit d6c7feb

Please sign in to comment.