TTY: srmcons, convert to use tty_port
authorJiri Slaby <jslaby@suse.cz>
Mon, 5 Mar 2012 13:51:59 +0000 (14:51 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 8 Mar 2012 19:42:21 +0000 (11:42 -0800)
commit54089d4cdc89732e65f968209d10aae542482c0c
tree4794ce3d78e77af45f91995182536b4bd7cfd320
parentee024d494ab75426bc77e0c053700915f0a1a16d
TTY: srmcons, convert to use tty_port

This is needed because the tty buffer will become a tty_port member
later. That will help us to wipe out most of the races and checks for
the tty pointer in hot paths.

Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Cc: Richard Henderson <rth@twiddle.net>
Cc: Ivan Kokshaysky <ink@jurassic.park.msu.ru>
Cc: Matt Turner <mattst88@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/alpha/kernel/srmcons.c