Skip to contentSkip to conversation

pv-on-hvm: Use wmb instead of rmb

PATCH New Kouya Shimura 1 participant 1 message May 29, 2008

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 pv-on-hvm: Use wmb instead of rmb

This is the same fix as
http://xenbits.xensource.com/linux-2.6.18-xen.hg?rev/77db69c38249

unmodified_drivers/linux-2.6/platform-pci/evtchn.c +1 -1
diff -r f681c4de91fc unmodified_drivers/linux-2.6/platform-pci/evtchn.c
@@ -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);
 

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel