patch-2.3.16 linux/drivers/char/rocket.c
Next file: linux/drivers/char/rtc.c
Previous file: linux/drivers/char/riscom8.c
Back to the patch index
Back to the overall index
- Lines: 18
- Date:
Tue Aug 31 11:30:48 1999
- Orig file:
v2.3.15/linux/drivers/char/rocket.c
- Orig date:
Thu Aug 5 15:04:52 1999
diff -u --recursive --new-file v2.3.15/linux/drivers/char/rocket.c linux/drivers/char/rocket.c
@@ -88,8 +88,6 @@
#endif
#if (LINUX_VERSION_CODE >= 131343) /* 2.1.15 -- XX get correct version */
#include <linux/init.h>
-#else
-#define __initfunc(x) x
#endif
#include "rocket_int.h"
@@ -890,7 +888,7 @@
sSetDTR(&info->channel);
sSetRTS(&info->channel);
}
- current->state = TASK_INTERRUPTIBLE;
+ set_current_state(TASK_INTERRUPTIBLE);
if (tty_hung_up_p(filp) ||
!(info->flags & ROCKET_INITIALIZED)) {
if (info->flags & ROCKET_HUP_NOTIFY)
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)