Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1372041
| From | "K. Y. Srinivasan" <kys@microsoft.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH 5/8] Drivers: hv: vmbus: Export the vmbus_set_event() API |
| Date | 2016-04-06 00:30 +0200 |
| Message-ID | <rkHDZ-2qu-25@gated-at.bofh.it> (permalink) |
| References | <rkHui-2lA-11@gated-at.bofh.it> <rkHDY-2qu-5@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
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> --- drivers/hv/connection.c | 1 + drivers/hv/hyperv_vmbus.h | 2 -- 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 d02f137..fcf8a02 100644 --- a/drivers/hv/connection.c +++ b/drivers/hv/connection.c @@ -495,3 +495,4 @@ void vmbus_set_event(struct vmbus_channel *channel) hv_do_hypercall(HVCALL_SIGNAL_EVENT, channel->sig_event, NULL); } +EXPORT_SYMBOL_GPL(vmbus_set_event); diff --git a/drivers/hv/hyperv_vmbus.h b/drivers/hv/hyperv_vmbus.h index 8b07f9c..e5203e4 100644 --- a/drivers/hv/hyperv_vmbus.h +++ b/drivers/hv/hyperv_vmbus.h @@ -672,8 +672,6 @@ void vmbus_disconnect(void); int vmbus_post_msg(void *buffer, size_t buflen); -void vmbus_set_event(struct vmbus_channel *channel); - void vmbus_on_event(unsigned long data); void vmbus_on_msg_dpc(unsigned long data); diff --git a/include/linux/hyperv.h b/include/linux/hyperv.h index a6b053c..4adeb6e 100644 --- a/include/linux/hyperv.h +++ b/include/linux/hyperv.h @@ -1365,4 +1365,5 @@ extern __u32 vmbus_proto_version; int vmbus_send_tl_connect_request(const uuid_le *shv_guest_servie_id, const uuid_le *shv_host_servie_id); +void vmbus_set_event(struct vmbus_channel *channel); #endif /* _HYPERV_H */ -- 1.7.4.1
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH 0/8] Drivers: hv: Miscellaneous vmbus and util driver fixes "K. Y. Srinivasan" <kys@microsoft.com> - 2016-04-06 00:20 +0200 [PATCH 7/8] Drivers: hv: vmbus: Implement APIs to support "in place" consumption of vmbus packets "K. Y. Srinivasan" <kys@microsoft.com> - 2016-04-06 00:30 +0200 [PATCH 3/8] Drivers: hv: vmbus: Use READ_ONCE() to read variables that are volatile "K. Y. Srinivasan" <kys@microsoft.com> - 2016-04-06 00:30 +0200 [PATCH 2/8] Drivers: hv: vmbus: Introduce functions for estimating room in the ring buffer "K. Y. Srinivasan" <kys@microsoft.com> - 2016-04-06 00:30 +0200 [PATCH 8/8] Drivers: hv: vmbus: handle various crash scenarios "K. Y. Srinivasan" <kys@microsoft.com> - 2016-04-06 00:30 +0200 [PATCH 6/8] Drivers: hv: vmbus: Move some ring buffer functions to hyperv.h "K. Y. Srinivasan" <kys@microsoft.com> - 2016-04-06 00:30 +0200 [PATCH 4/8] Drivers: hv: vmbus: Use the new virt_xx barrier code "K. Y. Srinivasan" <kys@microsoft.com> - 2016-04-06 00:30 +0200 [PATCH 5/8] Drivers: hv: vmbus: Export the vmbus_set_event() API "K. Y. Srinivasan" <kys@microsoft.com> - 2016-04-06 00:30 +0200 [PATCH 1/8] Drivers: hv: kvp: fix IP Failover "K. Y. Srinivasan" <kys@microsoft.com> - 2016-04-06 00:30 +0200
csiph-web