diff options
author | Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com> | 2009-09-19 02:13:41 +0200 |
---|---|---|
committer | Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com> | 2009-09-19 02:13:41 +0200 |
commit | 1a1a17cddbfb1f81222b3f18ee8530c41fbc3b82 (patch) | |
tree | b795c53bacda8f7f0db1d46a68a0346fd161bfb6 /drivers/xen/evtchn.c | |
parent | xen/evtchn: ports start enabled (diff) | |
download | linux-1a1a17cddbfb1f81222b3f18ee8530c41fbc3b82.tar.xz linux-1a1a17cddbfb1f81222b3f18ee8530c41fbc3b82.zip |
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 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); } |