diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2010-08-07 15:42:58 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2010-08-07 15:42:58 -0400 |
commit | 3b7433b8a8a83c87972065b1852b7dcae691e464 (patch) | |
tree | 93fa2c003f8baef5ab0733b53bac77961ed5240c /drivers/media/video/ivtv/ivtv-driver.h | |
parent | 4a386c3e177ca2fbc70c9283d0b46537844763a0 (diff) | |
parent | 6ee0578b4daaea01c96b172c6aacca43fd9807a6 (diff) |
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/wq
* 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/wq: (55 commits)
workqueue: mark init_workqueues() as early_initcall()
workqueue: explain for_each_*cwq_cpu() iterators
fscache: fix build on !CONFIG_SYSCTL
slow-work: kill it
gfs2: use workqueue instead of slow-work
drm: use workqueue instead of slow-work
cifs: use workqueue instead of slow-work
fscache: drop references to slow-work
fscache: convert operation to use workqueue instead of slow-work
fscache: convert object to use workqueue instead of slow-work
workqueue: fix how cpu number is stored in work->data
workqueue: fix mayday_mask handling on UP
workqueue: fix build problem on !CONFIG_SMP
workqueue: fix locking in retry path of maybe_create_worker()
async: use workqueue for worker pool
workqueue: remove WQ_SINGLE_CPU and use WQ_UNBOUND instead
workqueue: implement unbound workqueue
workqueue: prepare for WQ_UNBOUND implementation
libata: take advantage of cmwq and remove concurrency limitations
workqueue: fix worker management invocation without pending works
...
Fixed up conflicts in fs/cifs/* as per Tejun. Other trivial conflicts in
include/linux/workqueue.h, kernel/trace/Kconfig and kernel/workqueue.c
Diffstat (limited to 'drivers/media/video/ivtv/ivtv-driver.h')
-rw-r--r-- | drivers/media/video/ivtv/ivtv-driver.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/media/video/ivtv/ivtv-driver.h b/drivers/media/video/ivtv/ivtv-driver.h index bd084df4448a..102071246218 100644 --- a/drivers/media/video/ivtv/ivtv-driver.h +++ b/drivers/media/video/ivtv/ivtv-driver.h | |||
@@ -51,7 +51,7 @@ | |||
51 | #include <linux/unistd.h> | 51 | #include <linux/unistd.h> |
52 | #include <linux/pagemap.h> | 52 | #include <linux/pagemap.h> |
53 | #include <linux/scatterlist.h> | 53 | #include <linux/scatterlist.h> |
54 | #include <linux/workqueue.h> | 54 | #include <linux/kthread.h> |
55 | #include <linux/mutex.h> | 55 | #include <linux/mutex.h> |
56 | #include <linux/slab.h> | 56 | #include <linux/slab.h> |
57 | #include <asm/uaccess.h> | 57 | #include <asm/uaccess.h> |
@@ -260,7 +260,6 @@ struct ivtv_mailbox_data { | |||
260 | #define IVTV_F_I_DEC_PAUSED 20 /* the decoder is paused */ | 260 | #define IVTV_F_I_DEC_PAUSED 20 /* the decoder is paused */ |
261 | #define IVTV_F_I_INITED 21 /* set after first open */ | 261 | #define IVTV_F_I_INITED 21 /* set after first open */ |
262 | #define IVTV_F_I_FAILED 22 /* set if first open failed */ | 262 | #define IVTV_F_I_FAILED 22 /* set if first open failed */ |
263 | #define IVTV_F_I_WORK_INITED 23 /* worker thread was initialized */ | ||
264 | 263 | ||
265 | /* Event notifications */ | 264 | /* Event notifications */ |
266 | #define IVTV_F_I_EV_DEC_STOPPED 28 /* decoder stopped event */ | 265 | #define IVTV_F_I_EV_DEC_STOPPED 28 /* decoder stopped event */ |
@@ -666,8 +665,9 @@ struct ivtv { | |||
666 | /* Interrupts & DMA */ | 665 | /* Interrupts & DMA */ |
667 | u32 irqmask; /* active interrupts */ | 666 | u32 irqmask; /* active interrupts */ |
668 | u32 irq_rr_idx; /* round-robin stream index */ | 667 | u32 irq_rr_idx; /* round-robin stream index */ |
669 | struct workqueue_struct *irq_work_queues; /* workqueue for PIO/YUV/VBI actions */ | 668 | struct kthread_worker irq_worker; /* kthread worker for PIO/YUV/VBI actions */ |
670 | struct work_struct irq_work_queue; /* work entry */ | 669 | struct task_struct *irq_worker_task; /* task for irq_worker */ |
670 | struct kthread_work irq_work; /* kthread work entry */ | ||
671 | spinlock_t dma_reg_lock; /* lock access to DMA engine registers */ | 671 | spinlock_t dma_reg_lock; /* lock access to DMA engine registers */ |
672 | int cur_dma_stream; /* index of current stream doing DMA (-1 if none) */ | 672 | int cur_dma_stream; /* index of current stream doing DMA (-1 if none) */ |
673 | int cur_pio_stream; /* index of current stream doing PIO (-1 if none) */ | 673 | int cur_pio_stream; /* index of current stream doing PIO (-1 if none) */ |