aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/xen/evtchn.c
diff options
context:
space:
mode:
authorJeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>2009-09-18 20:13:41 -0400
committerJeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>2009-09-18 20:13:41 -0400
commit1a1a17cddbfb1f81222b3f18ee8530c41fbc3b82 (patch)
treeb795c53bacda8f7f0db1d46a68a0346fd161bfb6 /drivers/xen/evtchn.c
parent0edce91dcd83160019867a00746c679344dc0bbd (diff)
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 <jeremy.fitzhardinge@citrix.com>
Diffstat (limited to 'drivers/xen/evtchn.c')
-rw-r--r--drivers/xen/evtchn.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/xen/evtchn.c b/drivers/xen/evtchn.c
index 72dc7f20c5e..f79ac5ca379 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)
279 279
280 unbind_from_irqhandler(irq, (void *)(unsigned long)port); 280 unbind_from_irqhandler(irq, (void *)(unsigned long)port);
281 281
282 /* make sure we unbind the irq handler before clearing the port */
283 barrier();
284
285 set_port_user(port, NULL); 282 set_port_user(port, NULL);
286} 283}
287 284