]> err.no Git - linux-2.6/blobdiff - include/linux/tty.h
[PATCH] Debug variants of linked list macros
[linux-2.6] / include / linux / tty.h
index e421d5e34818cc30ea9af8707581a44129dcb80e..04827ca65781c0a47177a656eece88906ff9069d 100644 (file)
@@ -59,6 +59,7 @@ struct tty_bufhead {
        struct tty_buffer *head;        /* Queue head */
        struct tty_buffer *tail;        /* Active buffer */
        struct tty_buffer *free;        /* Free queue head */
+       int memory_used;                /* Buffer space used excluding free queue */
 };
 /*
  * The pty uses char_buf and flag_buf as a contiguous buffer