aboutsummaryrefslogtreecommitdiffstats
path: root/xen/arch/x86/smpboot.c
diff options
context:
space:
mode:
authorJan Beulich <jbeulich@suse.com>2012-09-11 15:47:16 +0200
committerJan Beulich <jbeulich@suse.com>2012-09-11 15:47:16 +0200
commitaf844567f069cfd53ade32c1fcdf8582865129d1 (patch)
tree522014441187c02b971e57c6e5a4f80507fe0c40 /xen/arch/x86/smpboot.c
parent0923fba2cf02e08275c6e454906a0420baa455b5 (diff)
downloadxen-af844567f069cfd53ade32c1fcdf8582865129d1.tar.gz
xen-af844567f069cfd53ade32c1fcdf8582865129d1.tar.bz2
xen-af844567f069cfd53ade32c1fcdf8582865129d1.zip
console: prepare for non-COMn port support
Widen SERHND_IDX (and use it where needed), introduce a flush low level driver method, and remove unnecessary peeking of the common code at the (driver specific) serial port identification string in the "console=" command line option value. Signed-off-by: Jan Beulich <jbeulich@suse.com> Acked-by: Keir Fraser <keir@xen.org>
Diffstat (limited to 'xen/arch/x86/smpboot.c')
-rw-r--r--xen/arch/x86/smpboot.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xen/arch/x86/smpboot.c b/xen/arch/x86/smpboot.c
index 675ca45121..bb69ddf11d 100644
--- a/xen/arch/x86/smpboot.c
+++ b/xen/arch/x86/smpboot.c
@@ -1017,7 +1017,7 @@ void __init smp_intr_init(void)
* Also ensure serial interrupts are high priority. We do not
* want them to be blocked by unacknowledged guest-bound interrupts.
*/
- for ( seridx = 0; seridx < 2; seridx++ )
+ for ( seridx = 0; seridx <= SERHND_IDX; seridx++ )
{
if ( (irq = serial_irq(seridx)) < 0 )
continue;