aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/hv/connection.c
diff options
context:
space:
mode:
authorK. Y. Srinivasan <kys@microsoft.com>2012-12-01 09:46:43 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-01-17 14:34:36 -0500
commit21c3bef5db359596806f19fee6c3ec0c033881d0 (patch)
treea90fe317098177a9233c2c4dca1f821c42098e0f /drivers/hv/connection.c
parent1f42248d724a413baaafd5f83a8f4746bc6f51a5 (diff)
Drivers: hv: Change the signature of vmbus_set_event()
In preparation for supporting a per-connection signaling mechanism, change the signature of vmbus_set_event(). This change is also needed to implement other aspects of the signaling optimization. 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/connection.c')
-rw-r--r--drivers/hv/connection.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/hv/connection.c b/drivers/hv/connection.c
index 3f8ce7be4c18..0d8b13290e93 100644
--- a/drivers/hv/connection.c
+++ b/drivers/hv/connection.c
@@ -395,8 +395,9 @@ int vmbus_post_msg(void *buffer, size_t buflen)
395/* 395/*
396 * vmbus_set_event - Send an event notification to the parent 396 * vmbus_set_event - Send an event notification to the parent
397 */ 397 */
398int vmbus_set_event(u32 child_relid) 398int vmbus_set_event(struct vmbus_channel *channel)
399{ 399{
400 u32 child_relid = channel->offermsg.child_relid;
400 /* Each u32 represents 32 channels */ 401 /* Each u32 represents 32 channels */
401 sync_set_bit(child_relid & 31, 402 sync_set_bit(child_relid & 31,
402 (unsigned long *)vmbus_connection.send_int_page + 403 (unsigned long *)vmbus_connection.send_int_page +