Commit fd6c93e7 authored by K. Y. Srinivasan's avatar K. Y. Srinivasan Committed by Tim Gardner

Drivers: hv: vmbus: Export the vmbus_set_event() API

BugLink: http://bugs.launchpad.net/bugs/1616677

In preparation for moving some ring buffer functionality out of the
vmbus driver, export the API for signaling the host.
Signed-off-by: default avatarK. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
(cherry picked from commit 5cc47247)
Signed-off-by: default avatarTim Gardner <tim.gardner@canonical.com>
Acked-by: default avatarBrad Figg <brad.figg@canonical.com>
Acked-by: default avatarKamal Mostafa <kamal@canonical.com>
parent 86407c44
...@@ -495,3 +495,4 @@ void vmbus_set_event(struct vmbus_channel *channel) ...@@ -495,3 +495,4 @@ void vmbus_set_event(struct vmbus_channel *channel)
hv_do_hypercall(HVCALL_SIGNAL_EVENT, channel->sig_event, NULL); hv_do_hypercall(HVCALL_SIGNAL_EVENT, channel->sig_event, NULL);
} }
EXPORT_SYMBOL_GPL(vmbus_set_event);
...@@ -672,8 +672,6 @@ void vmbus_disconnect(void); ...@@ -672,8 +672,6 @@ void vmbus_disconnect(void);
int vmbus_post_msg(void *buffer, size_t buflen); 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_event(unsigned long data);
void vmbus_on_msg_dpc(unsigned long data); void vmbus_on_msg_dpc(unsigned long data);
......
...@@ -1365,4 +1365,5 @@ extern __u32 vmbus_proto_version; ...@@ -1365,4 +1365,5 @@ extern __u32 vmbus_proto_version;
int vmbus_send_tl_connect_request(const uuid_le *shv_guest_servie_id, int vmbus_send_tl_connect_request(const uuid_le *shv_guest_servie_id,
const uuid_le *shv_host_servie_id); const uuid_le *shv_host_servie_id);
void vmbus_set_event(struct vmbus_channel *channel);
#endif /* _HYPERV_H */ #endif /* _HYPERV_H */
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment