Skip to content
This repository has been archived by the owner on Dec 14, 2022. It is now read-only.

Commit

Permalink
Drivers: hv: vmbus: Export the vmbus_set_event() API
Browse files Browse the repository at this point in the history
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 <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
  • Loading branch information
kattisrinivasan authored and gregkh committed Apr 30, 2016
1 parent dcd0eec commit 5cc4724
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
1 change: 1 addition & 0 deletions drivers/hv/connection.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
2 changes: 0 additions & 2 deletions drivers/hv/hyperv_vmbus.h
Original file line number Diff line number Diff line change
Expand Up @@ -667,8 +667,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);

Expand Down
1 change: 1 addition & 0 deletions include/linux/hyperv.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 */

0 comments on commit 5cc4724

Please sign in to comment.