Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932282AbWELXpI (ORCPT ); Fri, 12 May 2006 19:45:08 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S932288AbWELXoy (ORCPT ); Fri, 12 May 2006 19:44:54 -0400 Received: from mx.pathscale.com ([64.160.42.68]:682 "EHLO mx.pathscale.com") by vger.kernel.org with ESMTP id S932297AbWELXoe (ORCPT ); Fri, 12 May 2006 19:44:34 -0400 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [PATCH 53 of 53] ipath - add memory barrier when waiting for writes X-Mercurial-Node: f8ebb8c1e43635081b735c19335fd2fa19f9a6e3 Message-Id: In-Reply-To: Date: Fri, 12 May 2006 16:43:38 -0700 From: "Bryan O'Sullivan" To: rdreier@cisco.com Cc: openib-general@openib.org, linux-kernel@vger.kernel.org Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 703 Lines: 18 Signed-off-by: Bryan O'Sullivan 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); } - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/