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>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
dcd0eeca44
commit
5cc472477f
@ -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);
|
||||||
|
@ -667,8 +667,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;
|
|||||||
|
|
||||||
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 */
|
||||||
|
Reference in New Issue
Block a user