TTY: move ldisc data from tty_struct: bitmaps
authorJiri Slaby <jslaby@suse.cz>
Thu, 18 Oct 2012 20:26:40 +0000 (22:26 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 22 Oct 2012 23:53:00 +0000 (16:53 -0700)
commit3fe780b379fac2e1eeb5907ee7c864756ce7ec83
treef525c6df0333c94117bdec4a2ac41d9094d4e7eb
parent53c5ee2cfb4dadc4f5c24fe671e2fbfc034c875e
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>
drivers/tty/n_tty.c
include/linux/tty.h