diff options
author | David Vrabel <david.vrabel@citrix.com> | 2015-08-10 18:11:06 +0100 |
---|---|---|
committer | David Vrabel <david.vrabel@citrix.com> | 2015-08-11 11:05:42 +0100 |
commit | ad6cd7bafcd2c812ba4200d5938e07304f1e2fcd (patch) | |
tree | 2e95f2da6be2370391321941895528e915ad5e26 /drivers/xen/events/events_internal.h | |
parent | fc5fee86bdd3d720e2d1d324e4fae0c35845fa63 (diff) |
Revert "xen/events/fifo: Handle linked events when closing a port"
This reverts commit fcdf31a7c162de0c93a2bee51df4688ab0a348f8.
This was causing a WARNING whenever a PIRQ was closed since
shutdown_pirq() is called with irqs disabled.
Signed-off-by: David Vrabel <david.vrabel@citrix.com>
Cc: <stable@vger.kernel.org>
Diffstat (limited to 'drivers/xen/events/events_internal.h')
-rw-r--r-- | drivers/xen/events/events_internal.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/drivers/xen/events/events_internal.h b/drivers/xen/events/events_internal.h index d18e12315ec0..50c2050a1e32 100644 --- a/drivers/xen/events/events_internal.h +++ b/drivers/xen/events/events_internal.h @@ -68,7 +68,6 @@ struct evtchn_ops { bool (*test_and_set_mask)(unsigned port); void (*mask)(unsigned port); void (*unmask)(unsigned port); - void (*close)(unsigned port, unsigned cpu); void (*handle_events)(unsigned cpu); void (*resume)(void); @@ -146,12 +145,6 @@ static inline void xen_evtchn_resume(void) evtchn_ops->resume(); } -static inline void xen_evtchn_op_close(unsigned port, unsigned cpu) -{ - if (evtchn_ops->close) - return evtchn_ops->close(port, cpu); -} - void xen_evtchn_2l_init(void); int xen_evtchn_fifo_init(void); |