xen: Use wmb instead of rmb in xen_evtchn_do_upcall().
authorIsaku Yamahata <yamahata@valinux.co.jp>
Mon, 16 Jun 2008 21:58:13 +0000 (14:58 -0700)
committerIngo Molnar <mingo@elte.hu>
Fri, 20 Jun 2008 12:56:30 +0000 (14:56 +0200)
commit46539383791a0e59a4af7412056dfbfc5240af0a
tree3d41133619858b27d3c34e09d787a6120b3646cb
parent54481cf88bc59923ea30f2ca345a73c60155e901
xen: Use wmb instead of rmb in xen_evtchn_do_upcall().

This patch is ported one from 534:77db69c38249 of linux-2.6.18-xen.hg.
Use wmb instead of rmb to enforce ordering between
evtchn_upcall_pending and evtchn_pending_sel stores
in xen_evtchn_do_upcall().

Cc: Samuel Thibault <samuel.thibault@eu.citrix.com>
Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
Cc: Nick Piggin <nickpiggin@yahoo.com.au>
Cc: the arch/x86 maintainers <x86@kernel.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
drivers/xen/events.c