diff options
author | Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com> | 2009-09-18 17:13:41 -0700 |
---|---|---|
committer | Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com> | 2009-09-18 17:13:41 -0700 |
commit | 1a1a17cddbfb1f81222b3f18ee8530c41fbc3b82 (patch) | |
tree | b795c53bacda8f7f0db1d46a68a0346fd161bfb6 /drivers/xen/evtchn.c | |
parent | 0edce91dcd83160019867a00746c679344dc0bbd (diff) | |
download | op-kernel-dev-1a1a17cddbfb1f81222b3f18ee8530c41fbc3b82.zip op-kernel-dev-1a1a17cddbfb1f81222b3f18ee8530c41fbc3b82.tar.gz |
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.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/xen/evtchn.c b/drivers/xen/evtchn.c index 72dc7f2..f79ac5c 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); } |