diff options
Diffstat (limited to 'kernel/kfifo.c')
-rw-r--r-- | kernel/kfifo.c | 12 |
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) | |||
100 | EXPORT_SYMBOL(kfifo_free); | 100 | EXPORT_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 | */ |
115 | unsigned int __kfifo_put(struct kfifo *fifo, | 115 | unsigned 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 | } |
147 | EXPORT_SYMBOL(__kfifo_put); | 147 | EXPORT_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 | */ |
161 | unsigned int __kfifo_get(struct kfifo *fifo, | 161 | unsigned 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 | } |
193 | EXPORT_SYMBOL(__kfifo_get); | 193 | EXPORT_SYMBOL(kfifo_get); |