patch-2.3.3 linux/arch/ppc/8xx_io/uart.c
Next file: linux/arch/sparc/defconfig
Previous file: linux/arch/mips/kernel/irixsig.c
Back to the patch index
Back to the overall index
-  Lines: 20
-  Date:
Sat May 15 15:05:35 1999
-  Orig file: 
v2.3.2/linux/arch/ppc/8xx_io/uart.c
-  Orig date: 
Wed Dec 23 09:44:40 1998
diff -u --recursive --new-file v2.3.2/linux/arch/ppc/8xx_io/uart.c linux/arch/ppc/8xx_io/uart.c
@@ -155,8 +155,8 @@
 	long			pgrp; /* pgrp of opening process */
 	struct tq_struct	tqueue;
 	struct tq_struct	tqueue_hangup;
-	struct wait_queue	*open_wait;
-	struct wait_queue	*close_wait;
+	wait_queue_head_t	open_wait;
+	wait_queue_head_t	close_wait;
 
 	/* CPM Buffer Descriptor pointers.
 	*/
@@ -1733,7 +1733,7 @@
 			   ser_info_t *info)
 {
 #ifdef DO_THIS_LATER
-	struct wait_queue wait = { current, NULL };
+	DECLARE_WAITQUEUE(wait, current);
 #endif
 	struct serial_state *state = info->state;
 	int		retval;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)