summaryrefslogtreecommitdiffstats
path: root/arch/um/drivers/line.h
diff options
context:
space:
mode:
authorJiri Slaby <jslaby@suse.cz>2012-06-04 13:35:27 +0200
committerRichard Weinberger <richard@nod.at>2012-07-28 17:47:58 +0200
commit6fc58845ad189f8ceebd68a2ff524bfcd689a75e (patch)
tree7acc1ed13ec6427bf80f9ef3bf6eb4be0119663d /arch/um/drivers/line.h
parentTTY: um/line, add tty_port (diff)
downloadlinux-6fc58845ad189f8ceebd68a2ff524bfcd689a75e.tar.xz
linux-6fc58845ad189f8ceebd68a2ff524bfcd689a75e.zip
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: Richard Weinberger <richard@nod.at>
Diffstat (limited to 'arch/um/drivers/line.h')
-rw-r--r--arch/um/drivers/line.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/um/drivers/line.h b/arch/um/drivers/line.h
index 0e06a1f441d7..5b3d4fbdec18 100644
--- a/arch/um/drivers/line.h
+++ b/arch/um/drivers/line.h
@@ -33,7 +33,6 @@ struct line_driver {
struct line {
struct tty_port port;
- struct tty_struct *tty;
struct mutex count_lock;
int valid;