diff options
author | Stefani Seibold <stefani@seibold.net> | 2009-12-22 01:37:33 +0300 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-12-23 01:17:57 +0300 |
commit | 7801edb0b8b66e83c13623b483bc2e846c007c9d (patch) | |
tree | e536d39689ca4e25145aeeb84abf7335162c34c8 /mm/page_alloc.c | |
parent | 86d4880313603810901f639ccb5c88ff13d4ad3c (diff) | |
download | linux-7801edb0b8b66e83c13623b483bc2e846c007c9d.tar.xz |
media video cx23888 driver: ported to new kfifo API
Fix the cx23888 driver to use the new kfifo API. Using kfifo_reset()
may result in a possible race conditions. This patch fixes it by using
a spinlock around the kfifo_reset() function.
Signed-off-by: Stefani Seibold <stefani@seibold.net>
Cc: Mauro Carvalho Chehab <mchehab@infradead.org>
Reviewed-by: Andy Walls <awalls@radix.net>
Acked-by: Andy Walls <awalls@radix.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/page_alloc.c')
0 files changed, 0 insertions, 0 deletions