Staging: hv: Rename ringbuffer_get_debuginfo
authorK. Y. Srinivasan <kys@microsoft.com>
Tue, 10 May 2011 14:55:28 +0000 (07:55 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 11 May 2011 20:49:05 +0000 (13:49 -0700)
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>
drivers/staging/hv/channel.c
drivers/staging/hv/ring_buffer.c
drivers/staging/hv/ring_buffer.h

index be4e00444e72d47c931a9577dfbd973921464b83..5fcf9d341fb63ae79d68b13c88866b97e6509acf 100644 (file)
@@ -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);
 }
 
 /*
index abf009114f0b6293ff187d2e3106eeddff6a5500..7fbadb149a8e77ef3473c8136695da05d0dba6b0 100644 (file)
@@ -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;
index 61470a3cb5184246ba99b2c5c9526cfb6eb064cd..1bc0b8a20951e324b992657980cef6710e9beb1e 100644 (file)
@@ -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_ */