patch-2.3.1 linux/fs/proc/omirr.c
Next file: linux/fs/qnx4/inode.c
Previous file: linux/fs/proc/kmsg.c
Back to the patch index
Back to the overall index
- Lines: 11
- Date:
Tue May 11 23:07:08 1999
- Orig file:
v2.3.0/linux/fs/proc/omirr.c
- Orig date:
Mon Aug 24 13:14:09 1998
diff -u --recursive --new-file v2.3.0/linux/fs/proc/omirr.c linux/fs/proc/omirr.c
@@ -16,8 +16,8 @@
static char * buffer = NULL;
static int read_pos, write_pos;
static int clip_pos, max_pos;
-static struct wait_queue * read_wait = NULL;
-static struct wait_queue * write_wait = NULL;
+static DECLARE_WAIT_QUEUE_HEAD(read_wait);
+static DECLARE_WAIT_QUEUE_HEAD(write_wait);
static /*inline*/ int reserve_write_space(int len)
{
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)