]> git.baikalelectronics.ru Git - kernel.git/commit
serial: fix 8250 early console setup
authorDaniel Ritz <daniel.ritz-ml@swissonline.ch>
Fri, 3 Aug 2007 14:07:43 +0000 (16:07 +0200)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Fri, 3 Aug 2007 22:02:56 +0000 (15:02 -0700)
commit3cd2371d301bb0e6c11f17f5027ec825bac5ac96
treec0c1d90a82c58950db96456a9cfe2d8ad0b8d426
parente9eb3617f404f9fe63ecc1081fa0cc00d88be849
serial: fix 8250 early console setup

the early setup function serial8250_console_early_setup() can be called
from non __init code (eg. hotpluggable serial ports like serial_cs) so
remove the __init from the call chain to avoid crashes.

Signed-off-by: Daniel Ritz <daniel.ritz@gmx.ch>
Cc: Yinghai Lu <yinghai.lu@sun.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/serial/8250.c
drivers/serial/8250_early.c
kernel/printk.c