[openib-general] [PATCH 53 of 53] ipath - add memory barrier when waiting for writes
Bryan O'Sullivan
bos at pathscale.com
Fri May 12 16:43:38 PDT 2006
Signed-off-by: Bryan O'Sullivan <bos at pathscale.com>
diff -r fd9bdeea5b10 -r f8ebb8c1e436 drivers/infiniband/hw/ipath/ipath_eeprom.c
--- a/drivers/infiniband/hw/ipath/ipath_eeprom.c Fri May 12 16:42:39 2006 -0700
+++ b/drivers/infiniband/hw/ipath/ipath_eeprom.c Fri May 12 16:42:39 2006 -0700
@@ -185,6 +185,7 @@ bail:
*/
static void i2c_wait_for_writes(struct ipath_devdata *dd)
{
+ mb();
(void)ipath_read_kreg32(dd, dd->ipath_kregs->kr_scratch);
}
More information about the general
mailing list