git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge git://git.infradead.org/~dwmw2/mtd-2.6.35
[pandora-kernel.git]
/
arch
/
x86
/
kernel
/
early_printk.c
diff --git
a/arch/x86/kernel/early_printk.c
b/arch/x86/kernel/early_printk.c
index
b9c830c
..
fa99bae
100644
(file)
--- a/
arch/x86/kernel/early_printk.c
+++ b/
arch/x86/kernel/early_printk.c
@@
-41,6
+41,14
@@
static void early_vga_write(struct console *con, const char *str, unsigned n)
writew(0x720, VGABASE + 2*(max_xpos*j + i));
current_ypos = max_ypos-1;
}
writew(0x720, VGABASE + 2*(max_xpos*j + i));
current_ypos = max_ypos-1;
}
+#ifdef CONFIG_KGDB_KDB
+ if (c == '\b') {
+ if (current_xpos > 0)
+ current_xpos--;
+ } else if (c == '\r') {
+ current_xpos = 0;
+ } else
+#endif
if (c == '\n') {
current_xpos = 0;
current_ypos++;
if (c == '\n') {
current_xpos = 0;
current_ypos++;