patch-2.3.1 linux/include/linux/poll.h
Next file: linux/include/linux/quota.h
Previous file: linux/include/linux/pipe_fs_i.h
Back to the patch index
Back to the overall index
- Lines: 23
- Date:
Thu May 13 14:42:21 1999
- Orig file:
v2.3.0/linux/include/linux/poll.h
- Orig date:
Tue May 11 13:04:26 1999
diff -u --recursive --new-file v2.3.0/linux/include/linux/poll.h linux/include/linux/poll.h
@@ -13,8 +13,8 @@
struct poll_table_entry {
struct file * filp;
- struct wait_queue wait;
- struct wait_queue ** wait_address;
+ wait_queue_t wait;
+ wait_queue_head_t * wait_address;
};
typedef struct poll_table_struct {
@@ -25,9 +25,9 @@
#define __MAX_POLL_TABLE_ENTRIES ((PAGE_SIZE - sizeof (poll_table)) / sizeof (struct poll_table_entry))
-extern void __pollwait(struct file * filp, struct wait_queue ** wait_address, poll_table *p);
+extern void __pollwait(struct file * filp, wait_queue_head_t * wait_address, poll_table *p);
-extern inline void poll_wait(struct file * filp, struct wait_queue ** wait_address, poll_table *p)
+extern inline void poll_wait(struct file * filp, wait_queue_head_t * wait_address, poll_table *p)
{
if (p && wait_address)
__pollwait(filp, wait_address, p);
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)