It is possible now to delete minios_evtchn_close_fd() and the extern
declaration of event_queue.
Signed-off-by: Juergen Gross <jgross@suse.com>
Acked-by: Andrew Cooper <andrew.cooper3@citrix.com>
bool bound;
};
-extern struct wait_queue_head event_queue;
-
-void minios_evtchn_close_fd(int fd);
-
/* XXX Note: This is not threadsafe */
static struct port_info *port_alloc(xenevtchn_handle *xce)
{
return -1;
}
-void minios_evtchn_close_fd(int fd)
-{
- struct file *file = get_file_from_fd(fd);
-
- evtchn_close_fd(file);
-}
-
int xenevtchn_notify(xenevtchn_handle *xce, evtchn_port_t port)
{
int ret;