diff options
author | Andi Kleen <andi@firstfloor.org> | 2010-01-15 17:01:17 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2010-01-16 12:15:38 -0800 |
commit | d994ffc247f7c4a48b848f10c4c01c9b06411ada (patch) | |
tree | 1ccfe9997a504d556e368553c26661d0ce543f82 /kernel | |
parent | a5b9e2c1063046421ce01dcf5ddd7ec12567f3e1 (diff) | |
download | linux-d994ffc247f7c4a48b848f10c4c01c9b06411ada.tar.gz linux-d994ffc247f7c4a48b848f10c4c01c9b06411ada.tar.bz2 linux-d994ffc247f7c4a48b848f10c4c01c9b06411ada.zip |
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 <ak@linux.intel.com>
Acked-by: Stefani Seibold <stefani@seibold.net>
Cc: Roland Dreier <rdreier@cisco.com>
Cc: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Cc: Andy Walls <awalls@radix.net>
Cc: Vikram Dhillon <dhillonv10@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions