From: Jeremy Fitzhardinge Date: Sat, 19 Sep 2009 00:13:41 +0000 (-0700) Subject: xen/evtchn: remove spurious barrier X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=1a1a17cddbfb1f81222b3f18ee8530c41fbc3b82;p=linux-beck.git xen/evtchn: remove spurious barrier evtchn_unbind_from_user() is called under a lock, so there's no need to worry about the ordering of unbind_from_irqhandler vs clearing the port per-user data. Signed-off-by: Jeremy Fitzhardinge --- diff --git a/drivers/xen/evtchn.c b/drivers/xen/evtchn.c index 72dc7f20c5ed..f79ac5ca3793 100644 --- a/drivers/xen/evtchn.c +++ b/drivers/xen/evtchn.c @@ -279,9 +279,6 @@ static void evtchn_unbind_from_user(struct per_user_data *u, int port) unbind_from_irqhandler(irq, (void *)(unsigned long)port); - /* make sure we unbind the irq handler before clearing the port */ - barrier(); - set_port_user(port, NULL); }