Staging: hv: Rename get_ringbuffer_interrupt_mask
authorK. Y. Srinivasan <kys@microsoft.com>
Tue, 10 May 2011 14:55:26 +0000 (07:55 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 11 May 2011 20:49:04 +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 9f8bed284dec49e15c7dccb1facad88e727e228f..3274b29504853f366e19b7b85bc0e7911c6fd73f 100644 (file)
@@ -721,7 +721,7 @@ int vmbus_sendpacket(struct vmbus_channel *channel, const void *buffer,
        ret = hv_ringbuffer_write(&channel->outbound, bufferlist, 3);
 
        /* TODO: We should determine if this is optional */
-       if (ret == 0 && !get_ringbuffer_interrupt_mask(&channel->outbound))
+       if (ret == 0 && !hv_get_ringbuffer_interrupt_mask(&channel->outbound))
                vmbus_setevent(channel);
 
        return ret;
@@ -786,7 +786,7 @@ int vmbus_sendpacket_pagebuffer(struct vmbus_channel *channel,
        ret = hv_ringbuffer_write(&channel->outbound, bufferlist, 3);
 
        /* TODO: We should determine if this is optional */
-       if (ret == 0 && !get_ringbuffer_interrupt_mask(&channel->outbound))
+       if (ret == 0 && !hv_get_ringbuffer_interrupt_mask(&channel->outbound))
                vmbus_setevent(channel);
 
        return ret;
@@ -851,7 +851,7 @@ int vmbus_sendpacket_multipagebuffer(struct vmbus_channel *channel,
        ret = hv_ringbuffer_write(&channel->outbound, bufferlist, 3);
 
        /* TODO: We should determine if this is optional */
-       if (ret == 0 && !get_ringbuffer_interrupt_mask(&channel->outbound))
+       if (ret == 0 && !hv_get_ringbuffer_interrupt_mask(&channel->outbound))
                vmbus_setevent(channel);
 
        return ret;
index 2a0505939f759d75ca509c526767e69a130e1df3..013b7a5bd2e84470ad341fd666f0629687d6d507 100644 (file)
@@ -285,13 +285,13 @@ void ringbuffer_get_debuginfo(struct hv_ring_buffer_info *ring_info,
 /*++
 
 Name:
-       get_ringbuffer_interrupt_mask()
+       hv_get_ringbuffer_interrupt_mask()
 
 Description:
        Get the interrupt mask for the specified ring buffer
 
 --*/
-u32 get_ringbuffer_interrupt_mask(struct hv_ring_buffer_info *rbi)
+u32 hv_get_ringbuffer_interrupt_mask(struct hv_ring_buffer_info *rbi)
 {
        return rbi->ring_buffer->interrupt_mask;
 }
index 0ebf3be7bd6977ceb9f41c9abdeacdf8eec56fa4..64541055b2df69245aa7dcad2ddbd2ed06fd9e6a 100644 (file)
@@ -93,7 +93,7 @@ int hv_ringbuffer_read(struct hv_ring_buffer_info *ring_info,
                   u32 buflen,
                   u32 offset);
 
-u32 get_ringbuffer_interrupt_mask(struct hv_ring_buffer_info *ring_info);
+u32 hv_get_ringbuffer_interrupt_mask(struct hv_ring_buffer_info *ring_info);
 
 void dump_ring_info(struct hv_ring_buffer_info *ring_info, char *prefix);