From: K. Y. Srinivasan Date: Tue, 10 May 2011 14:55:28 +0000 (-0700) Subject: Staging: hv: Rename ringbuffer_get_debuginfo X-Git-Tag: v3.0-rc1~336^2~332 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=a75b61d528906fc6bf94226be2cce87e31cd18ff;p=karo-tx-linux.git Staging: hv: Rename ringbuffer_get_debuginfo Signed-off-by: K. Y. Srinivasan Signed-off-by: Haiyang Zhang Signed-off-by: Abhishek Kane Signed-off-by: Hank Janssen Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/hv/channel.c b/drivers/staging/hv/channel.c index be4e00444e72..5fcf9d341fb6 100644 --- a/drivers/staging/hv/channel.c +++ b/drivers/staging/hv/channel.c @@ -162,8 +162,8 @@ void vmbus_get_debug_info(struct vmbus_channel *channel, monitorpage->parameter[monitor_group] [monitor_offset].connectionid.u.id; - ringbuffer_get_debuginfo(&channel->inbound, &debuginfo->inbound); - ringbuffer_get_debuginfo(&channel->outbound, &debuginfo->outbound); + hv_ringbuffer_get_debuginfo(&channel->inbound, &debuginfo->inbound); + hv_ringbuffer_get_debuginfo(&channel->outbound, &debuginfo->outbound); } /* diff --git a/drivers/staging/hv/ring_buffer.c b/drivers/staging/hv/ring_buffer.c index abf009114f0b..7fbadb149a8e 100644 --- a/drivers/staging/hv/ring_buffer.c +++ b/drivers/staging/hv/ring_buffer.c @@ -253,13 +253,13 @@ copyfrom_ringbuffer( /*++ Name: - ringbuffer_get_debuginfo() + hv_ringbuffer_get_debuginfo() Description: Get various debug metrics for the specified ring buffer --*/ -void ringbuffer_get_debuginfo(struct hv_ring_buffer_info *ring_info, +void hv_ringbuffer_get_debuginfo(struct hv_ring_buffer_info *ring_info, struct hv_ring_buffer_debug_info *debug_info) { u32 bytes_avail_towrite; diff --git a/drivers/staging/hv/ring_buffer.h b/drivers/staging/hv/ring_buffer.h index 61470a3cb518..1bc0b8a20951 100644 --- a/drivers/staging/hv/ring_buffer.h +++ b/drivers/staging/hv/ring_buffer.h @@ -97,7 +97,7 @@ u32 hv_get_ringbuffer_interrupt_mask(struct hv_ring_buffer_info *ring_info); void hv_dump_ring_info(struct hv_ring_buffer_info *ring_info, char *prefix); -void ringbuffer_get_debuginfo(struct hv_ring_buffer_info *ring_info, +void hv_ringbuffer_get_debuginfo(struct hv_ring_buffer_info *ring_info, struct hv_ring_buffer_debug_info *debug_info); #endif /* _RING_BUFFER_H_ */