diff options
author | K. Y. Srinivasan <kys@microsoft.com> | 2011-05-10 07:55:26 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2011-05-11 13:49:04 -0700 |
commit | decc49dacba39354ee705ea8bec12d9ae1f63774 (patch) | |
tree | 99263e919acce3ab57b85f9d38a2b62bd6898fd2 /drivers | |
parent | 38397c8abe5596d8942a453468bec935964d1c75 (diff) | |
download | linux-stable-decc49dacba39354ee705ea8bec12d9ae1f63774.tar.gz linux-stable-decc49dacba39354ee705ea8bec12d9ae1f63774.tar.bz2 linux-stable-decc49dacba39354ee705ea8bec12d9ae1f63774.zip |
Staging: hv: Rename get_ringbuffer_interrupt_mask
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')
-rw-r--r-- | drivers/staging/hv/channel.c | 6 | ||||
-rw-r--r-- | drivers/staging/hv/ring_buffer.c | 4 | ||||
-rw-r--r-- | drivers/staging/hv/ring_buffer.h | 2 |
3 files changed, 6 insertions, 6 deletions
diff --git a/drivers/staging/hv/channel.c b/drivers/staging/hv/channel.c index 9f8bed284dec..3274b2950485 100644 --- a/drivers/staging/hv/channel.c +++ b/drivers/staging/hv/channel.c @@ -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; diff --git a/drivers/staging/hv/ring_buffer.c b/drivers/staging/hv/ring_buffer.c index 2a0505939f75..013b7a5bd2e8 100644 --- a/drivers/staging/hv/ring_buffer.c +++ b/drivers/staging/hv/ring_buffer.c @@ -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; } diff --git a/drivers/staging/hv/ring_buffer.h b/drivers/staging/hv/ring_buffer.h index 0ebf3be7bd69..64541055b2df 100644 --- a/drivers/staging/hv/ring_buffer.h +++ b/drivers/staging/hv/ring_buffer.h @@ -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); |