aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-powerpc/ps3av.h
diff options
context:
space:
mode:
authorGeert Uytterhoeven <Geert.Uytterhoeven@sonycom.com>2007-05-02 08:48:33 -0400
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-05-04 20:59:08 -0400
commit5caf5db887b2bc87d74a78674d8e3e4774fa2a14 (patch)
tree4c718b1a7915df85fdeb2cbc47daddfbf66ab973 /include/asm-powerpc/ps3av.h
parenteca28743b74736456bd75e0dabeb7d2df09fc03e (diff)
ps3av: thread updates
ps3av: Replace the kernel_thread and the ping pong semaphores by a singlethread workqueue and a completion. Signed-off-by: Geert Uytterhoeven <Geert.Uytterhoeven@sonycom.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/asm-powerpc/ps3av.h')
-rw-r--r--include/asm-powerpc/ps3av.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/asm-powerpc/ps3av.h b/include/asm-powerpc/ps3av.h
index 43e90ea96136..5c1b989406e4 100644
--- a/include/asm-powerpc/ps3av.h
+++ b/include/asm-powerpc/ps3av.h
@@ -646,8 +646,9 @@ struct ps3av_pkt_avb_param {
646struct ps3av { 646struct ps3av {
647 int available; 647 int available;
648 struct semaphore sem; 648 struct semaphore sem;
649 struct semaphore ping; 649 struct work_struct work;
650 struct semaphore pong; 650 struct completion done;
651 struct workqueue_struct *wq;
651 struct mutex mutex; 652 struct mutex mutex;
652 int open_count; 653 int open_count;
653 struct ps3_vuart_port_device *dev; 654 struct ps3_vuart_port_device *dev;