diff options
author | K. Y. Srinivasan <kys@microsoft.com> | 2016-04-02 20:59:49 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-04-30 17:00:19 -0400 |
commit | 5cc472477f928fb8584eb8e08245c9cf9002d74a (patch) | |
tree | 65249faebb8232f33577e29f857d92938b64dabc | |
parent | dcd0eeca4454d5c5a60aa3467581e0c6d7461b96 (diff) |
Drivers: hv: vmbus: Export the vmbus_set_event() API
In preparation for moving some ring buffer functionality out of the
vmbus driver, export the API for signaling the host.
Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r-- | drivers/hv/connection.c | 1 | ||||
-rw-r--r-- | drivers/hv/hyperv_vmbus.h | 2 | ||||
-rw-r--r-- | include/linux/hyperv.h | 1 |
3 files changed, 2 insertions, 2 deletions
diff --git a/drivers/hv/connection.c b/drivers/hv/connection.c index d02f1373dd98..fcf8a02dc0ea 100644 --- a/drivers/hv/connection.c +++ b/drivers/hv/connection.c | |||
@@ -495,3 +495,4 @@ void vmbus_set_event(struct vmbus_channel *channel) | |||
495 | 495 | ||
496 | hv_do_hypercall(HVCALL_SIGNAL_EVENT, channel->sig_event, NULL); | 496 | hv_do_hypercall(HVCALL_SIGNAL_EVENT, channel->sig_event, NULL); |
497 | } | 497 | } |
498 | EXPORT_SYMBOL_GPL(vmbus_set_event); | ||
diff --git a/drivers/hv/hyperv_vmbus.h b/drivers/hv/hyperv_vmbus.h index 12321b93a756..e5c586fab0e5 100644 --- a/drivers/hv/hyperv_vmbus.h +++ b/drivers/hv/hyperv_vmbus.h | |||
@@ -667,8 +667,6 @@ void vmbus_disconnect(void); | |||
667 | 667 | ||
668 | int vmbus_post_msg(void *buffer, size_t buflen); | 668 | int vmbus_post_msg(void *buffer, size_t buflen); |
669 | 669 | ||
670 | void vmbus_set_event(struct vmbus_channel *channel); | ||
671 | |||
672 | void vmbus_on_event(unsigned long data); | 670 | void vmbus_on_event(unsigned long data); |
673 | void vmbus_on_msg_dpc(unsigned long data); | 671 | void vmbus_on_msg_dpc(unsigned long data); |
674 | 672 | ||
diff --git a/include/linux/hyperv.h b/include/linux/hyperv.h index 66226ceade37..40fd608475f7 100644 --- a/include/linux/hyperv.h +++ b/include/linux/hyperv.h | |||
@@ -1365,4 +1365,5 @@ extern __u32 vmbus_proto_version; | |||
1365 | 1365 | ||
1366 | int vmbus_send_tl_connect_request(const uuid_le *shv_guest_servie_id, | 1366 | int vmbus_send_tl_connect_request(const uuid_le *shv_guest_servie_id, |
1367 | const uuid_le *shv_host_servie_id); | 1367 | const uuid_le *shv_host_servie_id); |
1368 | void vmbus_set_event(struct vmbus_channel *channel); | ||
1368 | #endif /* _HYPERV_H */ | 1369 | #endif /* _HYPERV_H */ |