diff options
author | K. Y. Srinivasan <kys@microsoft.com> | 2011-05-10 07:55:24 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2011-05-11 13:49:02 -0700 |
commit | a89186c21ccea2f06014b26463a39a1eea1efdf7 (patch) | |
tree | 2e03daf5508d075020260b53d64e8b0cdbb73afd /drivers/staging/hv/channel.c | |
parent | 633c4dce4e822be6155a78cec488e8bde521e908 (diff) | |
download | op-kernel-dev-a89186c21ccea2f06014b26463a39a1eea1efdf7.zip op-kernel-dev-a89186c21ccea2f06014b26463a39a1eea1efdf7.tar.gz |
Staging: hv: Rename ringbuffer_peek
Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: Abhishek Kane <v-abkane@microsoft.com>
Signed-off-by: Hank Janssen <hjanssen@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/hv/channel.c')
-rw-r--r-- | drivers/staging/hv/channel.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/hv/channel.c b/drivers/staging/hv/channel.c index 859771c..d625517 100644 --- a/drivers/staging/hv/channel.c +++ b/drivers/staging/hv/channel.c @@ -885,7 +885,7 @@ int vmbus_recvpacket(struct vmbus_channel *channel, void *buffer, spin_lock_irqsave(&channel->inbound_lock, flags); - ret = ringbuffer_peek(&channel->inbound, &desc, + ret = hv_ringbuffer_peek(&channel->inbound, &desc, sizeof(struct vmpacket_descriptor)); if (ret != 0) { spin_unlock_irqrestore(&channel->inbound_lock, flags); @@ -938,7 +938,7 @@ int vmbus_recvpacket_raw(struct vmbus_channel *channel, void *buffer, spin_lock_irqsave(&channel->inbound_lock, flags); - ret = ringbuffer_peek(&channel->inbound, &desc, + ret = hv_ringbuffer_peek(&channel->inbound, &desc, sizeof(struct vmpacket_descriptor)); if (ret != 0) { spin_unlock_irqrestore(&channel->inbound_lock, flags); |