summaryrefslogtreecommitdiff
path: root/drivers/xen/evtchn.c
diff options
context:
space:
mode:
authorJeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>2009-09-19 04:13:41 +0400
committerJeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>2009-09-19 04:13:41 +0400
commit1a1a17cddbfb1f81222b3f18ee8530c41fbc3b82 (patch)
treeb795c53bacda8f7f0db1d46a68a0346fd161bfb6 /drivers/xen/evtchn.c
parent0edce91dcd83160019867a00746c679344dc0bbd (diff)
downloadlinux-1a1a17cddbfb1f81222b3f18ee8530c41fbc3b82.tar.xz
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 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);
}