aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/cx18/cx18-driver.h
diff options
context:
space:
mode:
authorAndy Walls <awalls@radix.net>2008-11-25 19:43:05 -0500
committerMauro Carvalho Chehab <mchehab@redhat.com>2008-12-30 06:38:19 -0500
commit572bfea71b0fb2efb36407b4e284c1e7962d4779 (patch)
treead0d800d0963151e187c40a2d1a6e4c5ac38f39e /drivers/media/video/cx18/cx18-driver.h
parent9af0ef27a06f3e8976b90a4ed4758e25ea0f2df5 (diff)
V4L/DVB (9776): cx18: Change to per CX23418 device work queues for deferrable work handling
cx18: Change to per CX23418 device work queues for deferrable work handling. Needed to support 2.6.22 and earlier kernels that can't selectively cancel work orders. Also will provide slightly better performance on SMP systems. Signed-off-by: Andy Walls <awalls@radix.net> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/cx18/cx18-driver.h')
-rw-r--r--drivers/media/video/cx18/cx18-driver.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/video/cx18/cx18-driver.h b/drivers/media/video/cx18/cx18-driver.h
index ca1f43781941..94c196a91295 100644
--- a/drivers/media/video/cx18/cx18-driver.h
+++ b/drivers/media/video/cx18/cx18-driver.h
@@ -447,6 +447,7 @@ struct cx18 {
447 u32 sw2_irq_mask; 447 u32 sw2_irq_mask;
448 u32 hw2_irq_mask; 448 u32 hw2_irq_mask;
449 449
450 struct workqueue_struct *work_queue;
450 struct cx18_epu_work_order epu_work_order[CX18_MAX_EPU_WORK_ORDERS]; 451 struct cx18_epu_work_order epu_work_order[CX18_MAX_EPU_WORK_ORDERS];
451 char epu_debug_str[256]; /* CX18_EPU_DEBUG is rare: use shared space */ 452 char epu_debug_str[256]; /* CX18_EPU_DEBUG is rare: use shared space */
452 453
@@ -478,7 +479,6 @@ extern struct cx18 *cx18_cards[];
478extern int cx18_cards_active; 479extern int cx18_cards_active;
479extern int cx18_first_minor; 480extern int cx18_first_minor;
480extern spinlock_t cx18_cards_lock; 481extern spinlock_t cx18_cards_lock;
481extern struct workqueue_struct *cx18_work_queue;
482 482
483/*==============Prototypes==================*/ 483/*==============Prototypes==================*/
484 484