early_printk: Allow more than one early console
authorJason Wessel <jason.wessel@windriver.com>
Thu, 20 Aug 2009 20:39:52 +0000 (15:39 -0500)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 23 Sep 2009 13:46:38 +0000 (06:46 -0700)
commitc9530948bc626c8b638015c0b32abb9615659ec6
treefa840d9ec32f834c66bfde5c67c764ee24f99fa0
parent56faf0f98fd53e4a27cec331a3ff6d4aa55b1213
early_printk: Allow more than one early console

It is desirable to be able to use one early boot device to debug
another or to have multiple places you can see the early boot
diagnostics, such as the vga screen or serial device.

This patch changes the early_printk console device registration to
allow more than one early printk device to get registered via
register_console().

Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: Yinghai Lu <yinghai@kernel.org>
Cc: "Eric W. Biederman" <ebiederm@xmission.com>
Cc: Randy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
arch/x86/kernel/early_printk.c