patch-2.1.72 linux/include/linux/sched.h
Next file: linux/include/linux/soundcard.h
Previous file: linux/include/linux/pt.h
Back to the patch index
Back to the overall index
- Lines: 23
- Date:
Tue Dec 9 12:21:32 1997
- Orig file:
v2.1.71/linux/include/linux/sched.h
- Orig date:
Tue Dec 2 16:45:20 1997
diff -u --recursive --new-file v2.1.71/linux/include/linux/sched.h linux/include/linux/sched.h
@@ -601,22 +601,6 @@
write_unlock_irqrestore(&waitqueue_lock, flags);
}
-extern inline void poll_wait(struct wait_queue ** wait_address, poll_table * p)
-{
- struct poll_table_entry * entry;
-
- if (!p || !wait_address)
- return;
- if (p->nr >= __MAX_POLL_TABLE_ENTRIES)
- return;
- entry = p->entry + p->nr;
- entry->wait_address = wait_address;
- entry->wait.task = current;
- entry->wait.next = NULL;
- add_wait_queue(wait_address,&entry->wait);
- p->nr++;
-}
-
#define REMOVE_LINKS(p) do { unsigned long flags; \
write_lock_irqsave(&tasklist_lock, flags); \
(p)->next_task->prev_task = (p)->prev_task; \
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov