serial: kgdb_nmi: Improve console integration with KDB I/O
authorDaniel Thompson <daniel.thompson@linaro.org>
Thu, 29 May 2014 08:48:46 +0000 (09:48 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 29 May 2014 18:28:05 +0000 (11:28 -0700)
commitbd71a1c08807966636daf52138119108c12c6061
tree461fa928de53a33c90e6c05e6b10c10d406c4daf
parent8a0ff60f7eeab3df34d475c952b9d75799de8975
serial: kgdb_nmi: Improve console integration with KDB I/O

kgdb_nmi_tty_enabled is used for two unrelated purposes, namely to
suppress normal TTY input handling and to suppress console output
(although it has no effect at all on TTY output). A much better way to
handle muting the console is to not have to mute it in the first place!
That's what this patch does.

Signed-off-by: Daniel Thompson <daniel.thompson@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/kgdb_nmi.c