From: Kouya Shimura Subject: [PATCH] pv-on-hvm: Use wmb instead of rmb Date: Thu, 29 May 2008 17:00:35 +0900 Message-ID: <7kr6blo7z0.fsf@pingu.sky.yk.fujitsu.co.jp> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="Ht1YzPW4C8" Content-Transfer-Encoding: 7bit Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org --Ht1YzPW4C8 Content-Type: text/plain; charset=us-ascii Content-Description: message body text Content-Transfer-Encoding: 7bit This is the same fix as http://xenbits.xensource.com/linux-2.6.18-xen.hg?rev/77db69c38249 Signed-off-by: Kouya Shimura --Ht1YzPW4C8 Content-Type: text/plain Content-Disposition: inline; filename="evtchn.patch" Content-Transfer-Encoding: 7bit diff -r f681c4de91fc unmodified_drivers/linux-2.6/platform-pci/evtchn.c --- a/unmodified_drivers/linux-2.6/platform-pci/evtchn.c Wed May 28 16:14:10 2008 +0100 +++ b/unmodified_drivers/linux-2.6/platform-pci/evtchn.c Thu May 29 16:37:23 2008 +0900 @@ -284,7 +284,7 @@ #ifndef CONFIG_X86 /* No need for a barrier -- XCHG is a barrier on x86. */ /* Clear master flag /before/ clearing selector flag. */ - rmb(); + wmb(); #endif l1 = xchg(&v->evtchn_pending_sel, 0); --Ht1YzPW4C8 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --Ht1YzPW4C8--