diff options
| author | Andrea Righi <[email protected]> | 2010-08-19 14:13:27 -0700 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2010-08-20 09:34:54 -0700 |
| commit | b35de43b31040828f83046f40fd34ba33146409d (patch) | |
| tree | 693ffff84f463da3a7d81d8bd7bb26e144d7d499 /include | |
| parent | c81476df1b4241aefba4ff83a7701b3a926bd7ce (diff) | |
kfifo: implement missing __kfifo_skip_r()
kfifo_skip() is currently broken, due to the missing of the internal
helper function. Add it.
Signed-off-by: Andrea Righi <[email protected]>
Cc: Greg KH <[email protected]>
Acked-by: Stefani Seibold <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'include')
| -rw-r--r-- | include/linux/kfifo.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/kfifo.h b/include/linux/kfifo.h index 311f8753d713..4aa95f203f3e 100644 --- a/include/linux/kfifo.h +++ b/include/linux/kfifo.h @@ -836,6 +836,8 @@ extern void __kfifo_dma_out_finish_r(struct __kfifo *fifo, size_t recsize); extern unsigned int __kfifo_len_r(struct __kfifo *fifo, size_t recsize); +extern void __kfifo_skip_r(struct __kfifo *fifo, size_t recsize); + extern unsigned int __kfifo_out_peek_r(struct __kfifo *fifo, void *buf, unsigned int len, size_t recsize); |