kfifo: implement missing __kfifo_skip_r()
authorAndrea Righi <arighi@develer.com>
Thu, 19 Aug 2010 21:13:27 +0000 (14:13 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 20 Aug 2010 16:34:54 +0000 (09:34 -0700)
commitb35de43b31040828f83046f40fd34ba33146409d
tree693ffff84f463da3a7d81d8bd7bb26e144d7d499
parentc81476df1b4241aefba4ff83a7701b3a926bd7ce
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 <arighi@develer.com>
Cc: Greg KH <greg@kroah.com>
Acked-by: Stefani Seibold <stefani@seibold.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/linux/kfifo.h
kernel/kfifo.c