diff options
author | Andi Kleen <[email protected]> | 2010-01-15 17:01:17 -0800 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2010-01-16 12:15:38 -0800 |
commit | d994ffc247f7c4a48b848f10c4c01c9b06411ada (patch) | |
tree | 1ccfe9997a504d556e368553c26661d0ce543f82 /net/lapb/lapb_iface.c | |
parent | a5b9e2c1063046421ce01dcf5ddd7ec12567f3e1 (diff) |
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 <[email protected]>
Acked-by: Stefani Seibold <[email protected]>
Cc: Roland Dreier <[email protected]>
Cc: Dmitry Torokhov <[email protected]>
Cc: Andy Walls <[email protected]>
Cc: Vikram Dhillon <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'net/lapb/lapb_iface.c')
0 files changed, 0 insertions, 0 deletions