aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/kfifo.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/kfifo.c')
-rw-r--r--kernel/kfifo.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/kernel/kfifo.c b/kernel/kfifo.c
index 4950bdbe3477..963ffde4af1a 100644
--- a/kernel/kfifo.c
+++ b/kernel/kfifo.c
@@ -100,7 +100,7 @@ void kfifo_free(struct kfifo *fifo)
100EXPORT_SYMBOL(kfifo_free); 100EXPORT_SYMBOL(kfifo_free);
101 101
102/** 102/**
103 * __kfifo_put - puts some data into the FIFO, no locking version 103 * kfifo_put - puts some data into the FIFO, no locking version
104 * @fifo: the fifo to be used. 104 * @fifo: the fifo to be used.
105 * @buffer: the data to be added. 105 * @buffer: the data to be added.
106 * @len: the length of the data to be added. 106 * @len: the length of the data to be added.
@@ -112,7 +112,7 @@ EXPORT_SYMBOL(kfifo_free);
112 * Note that with only one concurrent reader and one concurrent 112 * Note that with only one concurrent reader and one concurrent
113 * writer, you don't need extra locking to use these functions. 113 * writer, you don't need extra locking to use these functions.
114 */ 114 */
115unsigned int __kfifo_put(struct kfifo *fifo, 115unsigned int kfifo_put(struct kfifo *fifo,
116 const unsigned char *buffer, unsigned int len) 116 const unsigned char *buffer, unsigned int len)
117{ 117{
118 unsigned int l; 118 unsigned int l;
@@ -144,10 +144,10 @@ unsigned int __kfifo_put(struct kfifo *fifo,
144 144
145 return len; 145 return len;
146} 146}
147EXPORT_SYMBOL(__kfifo_put); 147EXPORT_SYMBOL(kfifo_put);
148 148
149/** 149/**
150 * __kfifo_get - gets some data from the FIFO, no locking version 150 * kfifo_get - gets some data from the FIFO, no locking version
151 * @fifo: the fifo to be used. 151 * @fifo: the fifo to be used.
152 * @buffer: where the data must be copied. 152 * @buffer: where the data must be copied.
153 * @len: the size of the destination buffer. 153 * @len: the size of the destination buffer.
@@ -158,7 +158,7 @@ EXPORT_SYMBOL(__kfifo_put);
158 * Note that with only one concurrent reader and one concurrent 158 * Note that with only one concurrent reader and one concurrent
159 * writer, you don't need extra locking to use these functions. 159 * writer, you don't need extra locking to use these functions.
160 */ 160 */
161unsigned int __kfifo_get(struct kfifo *fifo, 161unsigned int kfifo_get(struct kfifo *fifo,
162 unsigned char *buffer, unsigned int len) 162 unsigned char *buffer, unsigned int len)
163{ 163{
164 unsigned int l; 164 unsigned int l;
@@ -190,4 +190,4 @@ unsigned int __kfifo_get(struct kfifo *fifo,
190 190
191 return len; 191 return len;
192} 192}
193EXPORT_SYMBOL(__kfifo_get); 193EXPORT_SYMBOL(kfifo_get);