]> git.baikalelectronics.ru Git - kernel.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)
commit6c179d02cab1914bf8f3d08ceb31c1833e65fa49
treef7b352bf2f51e1b5710007e279cf35abe5a4da29
parentb03196b2ff37a81792973fbece58f27550d8ad5b
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