x86, setup: Fix earlyprintk=serial,0x3f8,115200
authorYinghai Lu <yinghai@kernel.org>
Mon, 30 Aug 2010 01:13:10 +0000 (18:13 -0700)
committerH. Peter Anvin <hpa@linux.intel.com>
Tue, 21 Sep 2010 17:18:33 +0000 (10:18 -0700)
commit74b3c444a963ba55aef89b33a1bcaada9a4c206f
treed336c71f0610e19787ef4350fc5ccdfb0057d212
parent83d9f65bdae6f6b34d75282c6618d3f50846849a
x86, setup: Fix earlyprintk=serial,0x3f8,115200

earlyprintk can take and I/O port, so we need to handle this case in
the setup code too, otherwise 0x3f8 will be treated as a baud rate.

Signed-off-by: Yinghai Lu <yinghai@kernel.org>
LKML-Reference: <4C7B05A6.4010801@kernel.org>
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
arch/x86/boot/early_serial_console.c