ia64/xen-unstable

changeset 17754:098c88335a74

pv-on-hvm: Change barrier from rmb to wmb.
Signed-off-by: Kouya Shimura <kouya@jp.fujitsu.com>
author Keir Fraser <keir.fraser@citrix.com>
date Thu May 29 09:40:07 2008 +0100 (2008-05-29)
parents 4505418b6393
children 564c9be76aa4
files unmodified_drivers/linux-2.6/platform-pci/evtchn.c
line diff
     1.1 --- a/unmodified_drivers/linux-2.6/platform-pci/evtchn.c	Thu May 29 09:39:23 2008 +0100
     1.2 +++ b/unmodified_drivers/linux-2.6/platform-pci/evtchn.c	Thu May 29 09:40:07 2008 +0100
     1.3 @@ -284,7 +284,7 @@ static irqreturn_t evtchn_interrupt(int 
     1.4  
     1.5  #ifndef CONFIG_X86 /* No need for a barrier -- XCHG is a barrier on x86. */
     1.6  	/* Clear master flag /before/ clearing selector flag. */
     1.7 -	rmb();
     1.8 +	wmb();
     1.9  #endif
    1.10  	l1 = xchg(&v->evtchn_pending_sel, 0);
    1.11