From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754206AbcCWXRI (ORCPT ); Wed, 23 Mar 2016 19:17:08 -0400 Received: from p3plsmtps2ded02.prod.phx3.secureserver.net ([208.109.80.59]:49921 "EHLO p3plsmtps2ded02.prod.phx3.secureserver.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752775AbcCWXRD (ORCPT ); Wed, 23 Mar 2016 19:17:03 -0400 x-originating-ip: 72.167.245.219 From: "K. Y. Srinivasan" To: gregkh@linuxfoundation.org, linux-kernel@vger.kernel.org, devel@linuxdriverproject.org, olaf@aepfle.de, apw@canonical.com, vkuznets@redhat.com, jasowang@redhat.com Cc: "K. Y. Srinivasan" Subject: [PATCH 5/7] Drivers: hv: vmbus: Export the vmbus_set_event() API Date: Wed, 23 Mar 2016 17:53:55 -0700 Message-Id: <1458780837-4367-5-git-send-email-kys@microsoft.com> X-Mailer: git-send-email 1.7.4.1 In-Reply-To: <1458780837-4367-1-git-send-email-kys@microsoft.com> References: <1458780816-4328-1-git-send-email-kys@microsoft.com> <1458780837-4367-1-git-send-email-kys@microsoft.com> X-CMAE-Envelope: MS4wfLKsIsr64bKCnRZUouv7/UaTNCkz996VLb9gxlpTp8SUfELHLMyAEMQYP1kCNBxVXzs/vmSEjRdMn+sDpvyPYf36lkPbxZwyfwmzseSNYHTywkSRaJn/ 5wPebvKG5bTk9IOW8c1MR/+2WNWAXE+xsOVjFFo9cxqBUrtHbYA8h8VGXypYggaDhgCB1fIFY9fmsS62/5w4QOHWUjQMrU9hpTozx6Z2XdQckbUgqmqHMAo4 fM8OAJFd6Og2Kp99mWwqHpsAFRMZMVj2dBkbX7V8SL2QaTou12vxV17hKwwNc+V5B4OF9rCF60o80IMw6qUMhcK8TU/YhbjVuJ5/le4Gu0Hx/khPABkea2M/ cJ9D0DipttHapdJtUQb+9UWwq4eN9EqVv3oZ6Fz5ErGINNtGSaBiYK3fvgXxYM23D1yk96OI Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 --- 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 28e9df9..8cbd630 100644 --- a/drivers/hv/hyperv_vmbus.h +++ b/drivers/hv/hyperv_vmbus.h @@ -678,8 +678,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