Messages in this thread Patch in this message | | | Date | Sat, 15 May 1999 22:24:36 +0200 | From | root <> | Subject | sbpcd.c/ap1000 wait_queue changes |
| |
these seemed to be missing ... sorry for the bandwidth in case if someone else was quicker.
cya peter
--- linux-vanilla/drivers/cdrom/sbpcd.c Wed May 12 22:27:37 1999 +++ linux/drivers/cdrom/sbpcd.c Sat May 15 21:56:36 1999 @@ -584,9 +584,11 @@
/*==========================================================================*/ +/* not used #if FUTURE static struct wait_queue *sbp_waitq = NULL; #endif FUTURE +*/ static int teac=SBP_TEAC_SPEED; static int buffers=SBP_BUFFER_FRAMES; --- linux-vanilla/drivers/ap1000/ap.c Mon Aug 24 22:45:51 1998 +++ linux/drivers/ap1000/ap.c Sat May 15 21:54:11 1999 @@ -36,7 +36,7 @@ #define NUM_APDEVS 8 #define MAX_REQUESTS 1 -static struct wait_queue * busy_wait = NULL; +static DECLARE_WAIT_QUEUE_HEAD(busy_wait); static int ap_blocksizes[NUM_APDEVS]; static int ap_length[NUM_APDEVS]; --- linux-vanilla/drivers/ap1000/ddv.c Mon Aug 24 22:02:44 1998 +++ linux/drivers/ap1000/ddv.c Sat May 15 21:54:58 1999 @@ -84,7 +84,7 @@ static char *ddv_opcodep = NULL; static struct request *next_request = NULL; -static struct wait_queue * busy_wait = NULL; +static DECLARE_WAIT_QUEUE_HEAD(busy_wait); static int ddv_blocksizes[NUM_DDVDEVS]; /* in bytes */ int ddv_sect_length[NUM_DDVDEVS]; /* in sectors */ @@ -93,7 +93,7 @@ /* these are used by the ddv_daemon, which services remote disk requests */ static struct remote_request *rem_queue = NULL; static struct remote_request *rem_queue_end; -static struct wait_queue *ddv_daemon_wait = NULL; +static DECLARE_WAIT_QUEUE_HEAD(ddv_daemon_wait); static int opiu_kernel_loaded = 0;
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/
| |