Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 354989
b: refs/heads/master
c: 3be7777
h: refs/heads/master
i:
  354987: 4d98c78
v: v3
  • Loading branch information
K. Y. Srinivasan authored and Greg Kroah-Hartman committed Jan 17, 2013
1 parent 2c5c69b commit 2ceb223
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 6 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: b3bf60c7b4665d40b8eae2217b54c4745f49f470
refs/heads/master: 3be77774017fc3c7dd0b434265dfa417aac23545
13 changes: 8 additions & 5 deletions trunk/drivers/hv/connection.c
Original file line number Diff line number Diff line change
Expand Up @@ -383,10 +383,13 @@ int vmbus_post_msg(void *buffer, size_t buflen)
int vmbus_set_event(struct vmbus_channel *channel)
{
u32 child_relid = channel->offermsg.child_relid;
/* Each u32 represents 32 channels */
sync_set_bit(child_relid & 31,
(unsigned long *)vmbus_connection.send_int_page +
(child_relid >> 5));

return hv_signal_event(hv_context.signal_event_param);
if (!channel->is_dedicated_interrupt) {
/* Each u32 represents 32 channels */
sync_set_bit(child_relid & 31,
(unsigned long *)vmbus_connection.send_int_page +
(child_relid >> 5));
}

return hv_signal_event(channel->sig_event);
}

0 comments on commit 2ceb223

Please sign in to comment.