]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
serial: kgdb_nmi: No CON_ENABLED by default
authorDaniel Thompson <daniel.thompson@linaro.org>
Wed, 3 Sep 2014 11:57:52 +0000 (12:57 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 8 Sep 2014 23:26:07 +0000 (16:26 -0700)
commit287f03c0d4fbf0b57f88867a02632376b63ef0c8
treef7b352bf2f51e1b5710007e279cf35abe5a4da29
parenta5820c24a817e7bbebf5c4366989d5f243b809ab
serial: kgdb_nmi: No CON_ENABLED by default

At present this console is optionally registered by NULL checking
arch_kgdb_ops.enable_nmi. In practice this requires the architecture
dependant code to implement some kind of control (e.g. module arguments)
to enable/disable this feature.

The kernel already provides us the perfectly adequate console= argument
to enable/disable consoles. Let's use that instead!

Signed-off-by: Daniel Thompson <daniel.thompson@linaro.org>
Cc: Jiri Slaby <jslaby@suse.cz>
Cc: linux-serial@vger.kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/kgdb_nmi.c