diff options
author | Jiri Slaby <jslaby@suse.cz> | 2012-10-18 16:26:40 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-10-22 19:53:00 -0400 |
commit | 3fe780b379fac2e1eeb5907ee7c864756ce7ec83 (patch) | |
tree | f525c6df0333c94117bdec4a2ac41d9094d4e7eb /include/linux/tty.h | |
parent | 53c5ee2cfb4dadc4f5c24fe671e2fbfc034c875e (diff) |
TTY: move ldisc data from tty_struct: bitmaps
Here we move bitmaps and use DECLARE_BITMAP to declare them in the new
structure. And instead of memset, we use bitmap_zero as it is more
appropriate.
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Acked-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/tty.h')
-rw-r--r-- | include/linux/tty.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/include/linux/tty.h b/include/linux/tty.h index de590cec973b..2161e6b5a94c 100644 --- a/include/linux/tty.h +++ b/include/linux/tty.h | |||
@@ -272,12 +272,10 @@ struct tty_struct { | |||
272 | */ | 272 | */ |
273 | unsigned char closing:1; | 273 | unsigned char closing:1; |
274 | unsigned short minimum_to_wake; | 274 | unsigned short minimum_to_wake; |
275 | unsigned long process_char_map[256/(8*sizeof(unsigned long))]; | ||
276 | char *read_buf; | 275 | char *read_buf; |
277 | int read_head; | 276 | int read_head; |
278 | int read_tail; | 277 | int read_tail; |
279 | int read_cnt; | 278 | int read_cnt; |
280 | unsigned long read_flags[N_TTY_BUF_SIZE/(8*sizeof(unsigned long))]; | ||
281 | unsigned char *echo_buf; | 279 | unsigned char *echo_buf; |
282 | unsigned int echo_pos; | 280 | unsigned int echo_pos; |
283 | unsigned int echo_cnt; | 281 | unsigned int echo_cnt; |