commit | 4fc570bcbe77f823aae183dd824869f79e74cc97 | [log] [tgz] |
---|---|---|
author | Ralph Campbell <ralph.campbell@qlogic.com> | Fri Jul 06 12:48:23 2007 -0700 |
committer | Roland Dreier <rolandd@cisco.com> | Mon Jul 09 20:12:26 2007 -0700 |
tree | 3955946608a973b06db8b7e5b3ec319354a6fa73 | |
parent | 06cc85086e6896939f8c68f8518224748f6b0b2f [diff] |
IB/ipath: Add barrier before updating WC head in shared memory Add a barrier to make sure the CPU doesn't reorder writes to memory, since user programs can be polling on the head index update and the entry should be written before that. Signed-off-by: Ralph Campbell <ralph.campbell@qlogic.com> Signed-off-by: Roland Dreier <rolandd@cisco.com>