earlyprintk,vga,kdb: Fix \b and \r for earlyprintk=vga with kdb
authorJason Wessel <jason.wessel@windriver.com>
Fri, 21 May 2010 02:04:31 +0000 (21:04 -0500)
committerJason Wessel <jason.wessel@windriver.com>
Fri, 21 May 2010 02:04:31 +0000 (21:04 -0500)
commit61eaf539b9fb4926ed57e38f6545100c3432cf1b
treee7053a803bd128e5c9e63dd659abb5fad05e80f7
parent9731191f75a54c4fa17e9b9b88f3144cf4b47836
earlyprintk,vga,kdb: Fix \b and \r for earlyprintk=vga with kdb

Allow kdb to work properly with with earlyprintk=vga by interpreting
the backspace and carriage return output characters.  These
interpretation of these characters is used for simple line editing
provided in the kdb shell.

CC: Thomas Gleixner <tglx@linutronix.de>
CC: Ingo Molnar <mingo@redhat.com>
CC: H. Peter Anvin <hpa@zytor.com>
CC: x86@kernel.org
Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
arch/x86/kernel/early_printk.c