From: Andi Kleen Date: Sat, 16 Jan 2010 01:01:17 +0000 (-0800) Subject: kfifo: add kfifo_initialized X-Git-Tag: v2.6.33-rc5~49 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d994ffc247f7c4a48b848f10c4c01c9b06411ada;p=pandora-kernel.git kfifo: add kfifo_initialized Simple inline that checks if kfifo_init() has been executed on a fifo. This is useful for walking all per CPU fifos, when some of them might not have been brought up yet. 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