]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/linux/tty.h
Merge ../ntfs-2.6-devel
[linux-2.6-omap-h63xx.git] / include / linux / tty.h
index 3787102e4b129abe52f3b53461ff1e7fffb33b40..f45cd74e6f243da99e34deac005b53cf9232c188 100644 (file)
@@ -57,6 +57,9 @@ struct tty_buffer {
        unsigned char *flag_buf_ptr;
        int used;
        int size;
+       int active;
+       int commit;
+       int read;
        /* Data points here */
        unsigned long data[0];
 };
@@ -64,6 +67,7 @@ struct tty_buffer {
 struct tty_bufhead {
        struct work_struct              work;
        struct semaphore pty_sem;
+       spinlock_t lock;
        struct tty_buffer *head;        /* Queue head */
        struct tty_buffer *tail;        /* Active buffer */
        struct tty_buffer *free;        /* Free queue head */