projects
/
platform
/
kernel
/
linux-arm64.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6c7a267
)
microblaze: Send CR before LF for early console
author
Michal Simek
<monstr@monstr.eu>
Thu, 10 Nov 2011 12:40:08 +0000
(13:40 +0100)
committer
Michal Simek
<monstr@monstr.eu>
Thu, 5 Jan 2012 07:34:25 +0000
(08:34 +0100)
This patch fixes problem with measuring tools.
Signed-off-by: Michal Simek <monstr@monstr.eu>
arch/microblaze/kernel/early_printk.c
patch
|
blob
|
history
diff --git
a/arch/microblaze/kernel/early_printk.c
b/arch/microblaze/kernel/early_printk.c
index
d26d92d
..
8356e47
100644
(file)
--- a/
arch/microblaze/kernel/early_printk.c
+++ b/
arch/microblaze/kernel/early_printk.c
@@
-50,9
+50,9
@@
static void early_printk_uartlite_write(struct console *unused,
const char *s, unsigned n)
{
while (*s && n-- > 0) {
- early_printk_uartlite_putc(*s);
if (*s == '\n')
early_printk_uartlite_putc('\r');
+ early_printk_uartlite_putc(*s);
s++;
}
}
@@
-94,9
+94,9
@@
static void early_printk_uart16550_write(struct console *unused,
const char *s, unsigned n)
{
while (*s && n-- > 0) {
- early_printk_uart16550_putc(*s);
if (*s == '\n')
early_printk_uart16550_putc('\r');
+ early_printk_uart16550_putc(*s);
s++;
}
}