diff options
| author | Lars-Peter Clausen <lars@metafoo.de> | 2012-01-03 14:59:39 +0100 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-02-09 10:05:06 -0800 |
| commit | 2c00193fa15dc51566dc7931fe32184c99c6b317 (patch) | |
| tree | 868cefa58fb8e5f226f470fe852584aa45727387 /tools/perf/scripts/python/netdev-times.py | |
| parent | 0a769a95334a8819da046f13c2ef8d8b344fc199 (diff) | |
staging:iio:events: Use kfifo for event queue
The current IIO event code uses a list to emulate FIFO like behavior.
Just use a kfifo directly instead to implement the event queue. As part of this
patch the maximum of events in the queue is increased from 10 to 16 since kfifo
requires a power of two for the number of FIFO elements.
Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Acked-by: Jonathan Cameron <jic23@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions
