|
@@ -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);
|