diff options
author | Andi Kleen <andi@firstfloor.org> | 2010-01-16 01:01:17 (GMT) |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2010-01-16 20:15:38 (GMT) |
commit | d994ffc247f7c4a48b848f10c4c01c9b06411ada (patch) | |
tree | 1ccfe9997a504d556e368553c26661d0ce543f82 /CREDITS | |
parent | a5b9e2c1063046421ce01dcf5ddd7ec12567f3e1 (diff) | |
download | linux-fsl-qoriq-d994ffc247f7c4a48b848f10c4c01c9b06411ada.tar.xz |
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 'CREDITS')
0 files changed, 0 insertions, 0 deletions