patch-2.2.18 linux/drivers/char/n_hdlc.c
Next file: linux/drivers/char/nvram.c
Previous file: linux/drivers/char/misc.c
Back to the patch index
Back to the overall index
- Lines: 14
- Date:
Fri Sep 1 22:03:12 2000
- Orig file:
v2.2.17/drivers/char/n_hdlc.c
- Orig date:
Sun Jun 11 21:44:13 2000
diff -u --new-file --recursive --exclude-from /usr/src/exclude v2.2.17/drivers/char/n_hdlc.c linux/drivers/char/n_hdlc.c
@@ -118,13 +118,6 @@
#include <linux/kerneld.h>
#endif
-#if LINUX_VERSION_CODE < VERSION(2,3,0)
-typedef struct wait_queue *wait_queue_head_t;
-#define DECLARE_WAITQUEUE(name,task) struct wait_queue (name) = {(task),NULL}
-#define init_waitqueue_head(head) *(head) = NULL
-#define set_current_state(a) current->state = (a)
-#endif
-
#if LINUX_VERSION_CODE >= VERSION(2,1,4)
#include <asm/segment.h>
#define GET_USER(error,value,addr) error = get_user(value,addr)
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)