Update of /cvsroot/linuxconsole/ruby/linux/include/linux
In directory usw-pr-cvs1:/tmp/cvs-serv24972
Modified Files:
tty_driver.h
Log Message:
Added may_schedule field. From Andrew Morton's console sem patch. I feel it is much better to allow any TTY device the ability to conditional schedule. Especially some serial devices can be just as slow as VESA fb.
Index: tty_driver.h
===================================================================
RCS file: /cvsroot/linuxconsole/ruby/linux/include/linux/tty_driver.h,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- tty_driver.h 2001/06/02 16:40:03 1.2
+++ tty_driver.h 2001/10/08 04:27:13 1.3
@@ -129,6 +129,7 @@
short subtype; /* subtype of tty driver */
struct termios init_termios; /* Initial termios */
int flags; /* tty driver flags */
+ int may_schedule; /* when we can schedule */
int *refcount; /* for loadable tty drivers */
struct semaphore tty_lock;/* access control for printk and tty layer */
struct proc_dir_entry *proc_entry; /* /proc fs entry */
|