aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
Diffstat (limited to 'drivers')
-rw-r--r--drivers/hv/connection.c2
-rw-r--r--drivers/hv/hv.c7
-rw-r--r--drivers/hv/hyperv_vmbus.h2
3 files changed, 5 insertions, 6 deletions
diff --git a/drivers/hv/connection.c b/drivers/hv/connection.c
index 70ea5d1fc16c..3f8ce7be4c18 100644
--- a/drivers/hv/connection.c
+++ b/drivers/hv/connection.c
@@ -402,5 +402,5 @@ int vmbus_set_event(u32 child_relid)
402 (unsigned long *)vmbus_connection.send_int_page + 402 (unsigned long *)vmbus_connection.send_int_page +
403 (child_relid >> 5)); 403 (child_relid >> 5));
404 404
405 return hv_signal_event(); 405 return hv_signal_event(hv_context.signal_event_param);
406} 406}
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
diff --git a/drivers/hv/hyperv_vmbus.h b/drivers/hv/hyperv_vmbus.h
index ac1e419d4b16..61d2c4f6fc17 100644
--- a/drivers/hv/hyperv_vmbus.h
+++ b/drivers/hv/hyperv_vmbus.h
@@ -538,7 +538,7 @@ extern int hv_post_message(union hv_connection_id connection_id,
538 enum hv_message_type message_type, 538 enum hv_message_type message_type,
539 void *payload, size_t payload_size); 539 void *payload, size_t payload_size);
540 540
541extern u16 hv_signal_event(void); 541extern u16 hv_signal_event(void *con_id);
542 542
543extern void hv_synic_init(void *irqarg); 543extern void hv_synic_init(void *irqarg);
544 544