From: Andi Kleen Date: Sat, 16 Jan 2010 01:01:16 +0000 (-0800) Subject: kfifo: add kfifo_out_peek X-Git-Tag: v2.6.33-rc5~50 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a5b9e2c1063046421ce01dcf5ddd7ec12567f3e1;p=pandora-kernel.git kfifo: add kfifo_out_peek In some upcoming code it's useful to peek into a FIFO without permanentely removing data. This patch implements a new kfifo_out_peek() to do this. Signed-off-by: Andi Kleen Acked-by: Stefani Seibold Cc: Roland Dreier Cc: Dmitry Torokhov Cc: Andy Walls Cc: Vikram Dhillon Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed