aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/hv/hv.c
diff options
context:
space:
mode:
authorK. Y. Srinivasan <kys@microsoft.com>2012-12-01 09:46:42 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-01-17 14:34:36 -0500
commit1f42248d724a413baaafd5f83a8f4746bc6f51a5 (patch)
tree949c840a480c3d5e0514743777ceba5daa375c06 /drivers/hv/hv.c
parent37f7278b81a9ab9b76cf4d716ba420444ca4a616 (diff)
Drivers: hv: Change the signature for hv_signal_event()
In preparation for implementing a per-connection signaling framework, change the signature of the function hv_signal_event(). The current code uses a global handle for signaling the host. Signed-off-by: K. Y. Srinivasan <kys@microsoft.com> Reviewed-by: Haiyang Zhang <haiyangz@microsoft.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/hv/hv.c')
-rw-r--r--drivers/hv/hv.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/drivers/hv/hv.c b/drivers/hv/hv.c
index 3648f8f0f368..dd0af8940657 100644
--- a/drivers/hv/hv.c
+++ b/drivers/hv/hv.c
@@ -273,13 +273,12 @@ int hv_post_message(union hv_connection_id connection_id,
273 * 273 *
274 * This involves a hypercall. 274 * This involves a hypercall.
275 */ 275 */
276u16 hv_signal_event(void) 276u16 hv_signal_event(void *con_id)
277{ 277{
278 u16 status; 278 u16 status;
279 279
280 status = do_hypercall(HVCALL_SIGNAL_EVENT, 280 status = (do_hypercall(HVCALL_SIGNAL_EVENT, con_id, NULL) & 0xFFFF);
281 hv_context.signal_event_param, 281
282 NULL) & 0xFFFF;
283 return status; 282 return status;
284} 283}
285 284