summaryrefslogtreecommitdiffstats
path: root/include/linux/poll.h
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2000-07-23 14:05:01 +0000
committerRalf Baechle <ralf@linux-mips.org>2000-07-23 14:05:01 +0000
commitf3627cbe9236a062012c836f3b6ee311b43f63f2 (patch)
treeae854838b9a73b35bd0f3b8f42e5fb7f9cb1d5a9 /include/linux/poll.h
parentfea12a7b3f20bc135ab533491411e9ff753c01c8 (diff)
Merge with Linux 2.4.0-test5-pre4.
Diffstat (limited to 'include/linux/poll.h')
-rw-r--r--include/linux/poll.h15
1 files changed, 1 insertions, 14 deletions
diff --git a/include/linux/poll.h b/include/linux/poll.h
index 64b5df671..24138dbd2 100644
--- a/include/linux/poll.h
+++ b/include/linux/poll.h
@@ -10,26 +10,13 @@
#include <linux/mm.h>
#include <asm/uaccess.h>
-
-struct poll_table_entry {
- struct file * filp;
- wait_queue_t wait;
- wait_queue_head_t * wait_address;
-};
-
-struct poll_table_page {
- struct poll_table_page * next;
- unsigned int nr;
- struct poll_table_entry * entry;
-};
+struct poll_table_page;
typedef struct poll_table_struct {
int error;
struct poll_table_page * table;
} poll_table;
-#define __MAX_POLL_TABLE_ENTRIES ((PAGE_SIZE - sizeof (struct poll_table_page)) / sizeof (struct poll_table_entry))
-
extern void __pollwait(struct file * filp, wait_queue_head_t * wait_address, poll_table *p);
extern inline void poll_wait(struct file * filp, wait_queue_head_t * wait_address, poll_table *p)