aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStephen Hemminger <stephen@networkplumber.org>2017-02-12 01:02:18 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-02-14 13:20:35 -0500
commit51c6ce2ae35980c755af33461c3138570ded615e (patch)
treebbb47d5f65cb0358839ef65c2a6ee029697f27f5
parentdef95c73567dfacb22900cd0c4f01caff39e4c9e (diff)
vmbus: callback is in softirq not workqueue
The callback is done via tasklet not workqueue. Signed-off-by: Stephen Hemminger <sthemmin@microsoft.com> Signed-off-by: K. Y. Srinivasan <kys@microsoft.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r--include/linux/hyperv.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/include/linux/hyperv.h b/include/linux/hyperv.h
index e208e6437f5b..c9b6d533958f 100644
--- a/include/linux/hyperv.h
+++ b/include/linux/hyperv.h
@@ -32,7 +32,6 @@
32#include <linux/scatterlist.h> 32#include <linux/scatterlist.h>
33#include <linux/list.h> 33#include <linux/list.h>
34#include <linux/timer.h> 34#include <linux/timer.h>
35#include <linux/workqueue.h>
36#include <linux/completion.h> 35#include <linux/completion.h>
37#include <linux/device.h> 36#include <linux/device.h>
38#include <linux/mod_devicetable.h> 37#include <linux/mod_devicetable.h>
@@ -743,9 +742,7 @@ struct vmbus_channel {
743 742
744 struct vmbus_close_msg close_msg; 743 struct vmbus_close_msg close_msg;
745 744
746 /* Channel callback are invoked in this workqueue context */ 745 /* Channel callback's invoked in softirq context */
747 /* HANDLE dataWorkQueue; */
748
749 void (*onchannel_callback)(void *context); 746 void (*onchannel_callback)(void *context);
750 void *channel_callback_context; 747 void *channel_callback_context;
751 748