diff options
author | Vincent Whitchurch <vincent.whitchurch@axis.com> | 2022-02-15 15:17:49 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2022-04-22 16:24:47 +0200 |
commit | 7ea4aa70bfcec3225e2a38d8934c0b1f582c48c1 (patch) | |
tree | e687e6852fc5e1682d221eebc8e88c85c1d6b244 /drivers/char/Kconfig | |
parent | 8f3631f0f6eb42e57f0ed120d105483c3ef61e49 (diff) | |
download | lwn-7ea4aa70bfcec3225e2a38d8934c0b1f582c48c1.tar.gz lwn-7ea4aa70bfcec3225e2a38d8934c0b1f582c48c1.zip |
char: ttyprintk: register console
Register a console in the ttyprintk driver so that it can be selected
for /dev/console with console=ttyprintk on the kernel command line,
similar to other console drivers.
Signed-off-by: Vincent Whitchurch <vincent.whitchurch@axis.com>
Link: https://lore.kernel.org/r/20220215141750.92808-1-vincent.whitchurch@axis.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/char/Kconfig')
-rw-r--r-- | drivers/char/Kconfig | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/char/Kconfig b/drivers/char/Kconfig index 55f48375e3fe..69fd31ffb847 100644 --- a/drivers/char/Kconfig +++ b/drivers/char/Kconfig @@ -18,7 +18,8 @@ config TTY_PRINTK The feature is useful to inline user messages with kernel messages. In order to use this feature, you should output user messages - to /dev/ttyprintk or redirect console to this TTY. + to /dev/ttyprintk or redirect console to this TTY, or boot + the kernel with console=ttyprintk. If unsure, say N. |