]> git.baikalelectronics.ru Git - kernel.git/commit
serial8250: Mark console as CON_ANYTIME
authorPeter Zijlstra <peterz@infradead.org>
Mon, 15 Nov 2010 20:11:12 +0000 (21:11 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 16 Nov 2010 21:29:54 +0000 (13:29 -0800)
commit13833fb14eb3851b2adbee662553f07ca38bf7f3
treeae811cbf55813c0b6c295c3bbe876b196ecb96c4
parentd7625601219f54426c30ec1edd4e6354971f9de3
serial8250: Mark console as CON_ANYTIME

While trying to debug a cpu-hotplug issue I noticed printk() stopped
working once the cpu got marked offline, since the 8250 serial console
doesn't have any per-cpu resources the CON_ANYTIME bit is the safe and
documented way to make it work again.

Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/serial/8250.c