[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen-unstable] pv-on-hvm: Change barrier from rmb to wmb.



# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1212050407 -3600
# Node ID 098c88335a74f05882e7221045a33da7499240d5
# Parent  4505418b63933e4887c808e376985c2421d035e3
pv-on-hvm: Change barrier from rmb to wmb.
Signed-off-by: Kouya Shimura <kouya@xxxxxxxxxxxxxx>
---
 unmodified_drivers/linux-2.6/platform-pci/evtchn.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff -r 4505418b6393 -r 098c88335a74 
unmodified_drivers/linux-2.6/platform-pci/evtchn.c
--- a/unmodified_drivers/linux-2.6/platform-pci/evtchn.c        Thu May 29 
09:39:23 2008 +0100
+++ b/unmodified_drivers/linux-2.6/platform-pci/evtchn.c        Thu May 29 
09:40:07 2008 +0100
@@ -284,7 +284,7 @@ static irqreturn_t evtchn_interrupt(int 
 
 #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);
 

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.