V4L/DVB (8772): cx18: Convert cx18_queue buffers member to atomic_t
authorAndy Walls <awalls@radix.net>
Sat, 23 Aug 2008 00:03:11 +0000 (21:03 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Sun, 12 Oct 2008 11:36:53 +0000 (09:36 -0200)
commitb04bce476c57ac844962462ee4c813c44fa942cf
treefb08a484414e6e486fd31c59c8533c46fd4b1341
parent59ba2b002265f2e862aa7f0df3f13c09ea99c4da
V4L/DVB (8772): cx18: Convert cx18_queue buffers member to atomic_t

cx18: Convert cx18_queue buffers member to atomic_t.  This allows safe
concurrent access to check if a queue has data without having to acquire the
queue spinlock.

Signed-off-by: Andy Walls <awalls@radix.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/cx18/cx18-driver.h
drivers/media/video/cx18/cx18-fileops.c
drivers/media/video/cx18/cx18-ioctl.c
drivers/media/video/cx18/cx18-queue.c