TTY: um/line, use tty from tty_port
commit95f4d5f01bb56b4f940c8b44be8e71c5f35f2069
authorJiri Slaby <jslaby@suse.cz>
Mon, 4 Jun 2012 11:35:27 +0000 (4 13:35 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 12 Jun 2012 22:54:10 +0000 (12 15:54 -0700)
tree11aa8e0860678c5a768a3ebc932dac66f74bc7d0
parent042e6c29c16c9c20c31110b611ed60187b0c873a
TTY: um/line, use tty from tty_port

This means switching to the tty refcounted model so that we will not
race with interrupts.

Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Cc: Jeff Dike <jdike@addtoit.com>
Cc: Richard Weinberger <richard@nod.at>
Cc: user-mode-linux-devel@lists.sourceforge.net
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/um/drivers/chan_kern.c
arch/um/drivers/line.c
arch/um/drivers/line.h