Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 354986
b: refs/heads/master
c: 21c3bef
h: refs/heads/master
v: v3
  • Loading branch information
K. Y. Srinivasan authored and Greg Kroah-Hartman committed Jan 17, 2013
1 parent bb3bb8d commit 866ef38
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 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: 1f42248d724a413baaafd5f83a8f4746bc6f51a5
refs/heads/master: 21c3bef5db359596806f19fee6c3ec0c033881d0
2 changes: 1 addition & 1 deletion trunk/drivers/hv/channel.c
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ static void vmbus_setevent(struct vmbus_channel *channel)
[channel->monitor_grp].pending);

} else {
vmbus_set_event(channel->offermsg.child_relid);
vmbus_set_event(channel);
}
}

Expand Down
3 changes: 2 additions & 1 deletion trunk/drivers/hv/connection.c
Original file line number Diff line number Diff line change
Expand Up @@ -395,8 +395,9 @@ int vmbus_post_msg(void *buffer, size_t buflen)
/*
* vmbus_set_event - Send an event notification to the parent
*/
int vmbus_set_event(u32 child_relid)
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 +
Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/hv/hyperv_vmbus.h
Original file line number Diff line number Diff line change
Expand Up @@ -660,7 +660,7 @@ int vmbus_connect(void);

int vmbus_post_msg(void *buffer, size_t buflen);

int vmbus_set_event(u32 child_relid);
int vmbus_set_event(struct vmbus_channel *channel);

void vmbus_on_event(unsigned long data);

Expand Down

0 comments on commit 866ef38

Please sign in to comment.