]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commitdiff
Drivers: hv: vmbus: Export the vmbus_set_event() API
authorK. Y. Srinivasan <kys@microsoft.com>
Sun, 3 Apr 2016 00:59:49 +0000 (17:59 -0700)
committerTim Gardner <tim.gardner@canonical.com>
Fri, 16 Sep 2016 17:08:45 +0000 (11:08 -0600)
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: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
(cherry picked from commit 5cc472477f928fb8584eb8e08245c9cf9002d74a)
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
Acked-by: Brad Figg <brad.figg@canonical.com>
Acked-by: Kamal Mostafa <kamal@canonical.com>
drivers/hv/connection.c
drivers/hv/hyperv_vmbus.h
include/linux/hyperv.h

index d02f1373dd98c6d82777e744ba9679eefc6a80e0..fcf8a02dc0eadb04522ce782be64a37dc8014813 100644 (file)
@@ -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);
index 8b07f9c1a09abd90530297bbeb7034a045bf7020..e5203e4d67825636150b860cfd2b8ddb4f30d274 100644 (file)
@@ -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);
 
index a6b053c39a2f0898b135fd818eabb7a243e19433..4adeb6e3e788f379ab0f0b69b0f40c51a08b6175 100644 (file)
@@ -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 */