]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit877182a923d3ea1bc25549fdcf38da58aaa0debb
treefa840d9ec32f834c66bfde5c67c764ee24f99fa0
parent46f510d07a175ebaa1b671afa2049595dad4e3be
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