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)
commita80c49dbb6cd389fd5b0d79f850b56322475d00b
treeae811cbf55813c0b6c295c3bbe876b196ecb96c4
parente53beacd23d9cb47590da6a7a7f6d417b941a994
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