diff options
author | Juergen Gross <jgross@suse.com> | 2016-09-22 12:06:25 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-09-22 15:26:24 +0300 |
commit | 0364a8824c020f12e2d5e9fad963685b58f7574e (patch) | |
tree | 42bc8abc5f8c7e1b243bed56bf309ff55ebbe144 /drivers/net/xen-netback/common.h | |
parent | f6f7d9c03f5daae04449ad19de5e2f0c20c5eaac (diff) | |
download | linux-0364a8824c020f12e2d5e9fad963685b58f7574e.tar.xz |
xen-netback: switch to threaded irq for control ring
Instead of open coding it use the threaded irq mechanism in
xen-netback.
Signed-off-by: Juergen Gross <jgross@suse.com>
Acked-by: Wei Liu <wei.liu2@citrix.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/xen-netback/common.h')
-rw-r--r-- | drivers/net/xen-netback/common.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/net/xen-netback/common.h b/drivers/net/xen-netback/common.h index 3a562683603c..ff94c513fe20 100644 --- a/drivers/net/xen-netback/common.h +++ b/drivers/net/xen-netback/common.h @@ -292,8 +292,6 @@ struct xenvif { #endif struct xen_netif_ctrl_back_ring ctrl; - struct task_struct *ctrl_task; - wait_queue_head_t ctrl_wq; unsigned int ctrl_irq; /* Miscellaneous private stuff. */ @@ -359,7 +357,7 @@ void xenvif_kick_thread(struct xenvif_queue *queue); int xenvif_dealloc_kthread(void *data); -int xenvif_ctrl_kthread(void *data); +irqreturn_t xenvif_ctrl_irq_fn(int irq, void *data); void xenvif_rx_queue_tail(struct xenvif_queue *queue, struct sk_buff *skb); |