mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-08-05 00:34:52 +00:00
serial: pl011: Mark console as CON_ANYTIME
Exactly as in a80c49db
("serial8250: Mark console as CON_ANYTIME"),
to enable printk() during CPU hot-plugging.
Actually most of the serial console drivers do not use per-cpu resources
and can be marked as CON_ANYTIME.
Signed-off-by: Alexander Sverdlin <alexander.sverdlin@nokia.com>
Cc: Russell King <linux@armlinux.org.uk>
Cc: Jiri Slaby <jslaby@suse.com>
Cc: linux-serial@vger.kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
1ea146a7dc
commit
7951ffc9ea
1 changed files with 1 additions and 1 deletions
|
@ -2376,7 +2376,7 @@ static struct console amba_console = {
|
|||
.device = uart_console_device,
|
||||
.setup = pl011_console_setup,
|
||||
.match = pl011_console_match,
|
||||
.flags = CON_PRINTBUFFER,
|
||||
.flags = CON_PRINTBUFFER | CON_ANYTIME,
|
||||
.index = -1,
|
||||
.data = &amba_reg,
|
||||
};
|
||||
|
|
Loading…
Add table
Reference in a new issue