diff options
Diffstat (limited to 'arch/x86_64/kernel/early_printk.c')
-rw-r--r-- | arch/x86_64/kernel/early_printk.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86_64/kernel/early_printk.c b/arch/x86_64/kernel/early_printk.c index 56eaa259782b..296d2b0c5d88 100644 --- a/arch/x86_64/kernel/early_printk.c +++ b/arch/x86_64/kernel/early_printk.c | |||
@@ -91,9 +91,9 @@ static int early_serial_putc(unsigned char ch) | |||
91 | static void early_serial_write(struct console *con, const char *s, unsigned n) | 91 | static void early_serial_write(struct console *con, const char *s, unsigned n) |
92 | { | 92 | { |
93 | while (*s && n-- > 0) { | 93 | while (*s && n-- > 0) { |
94 | early_serial_putc(*s); | ||
95 | if (*s == '\n') | 94 | if (*s == '\n') |
96 | early_serial_putc('\r'); | 95 | early_serial_putc('\r'); |
96 | early_serial_putc(*s); | ||
97 | s++; | 97 | s++; |
98 | } | 98 | } |
99 | } | 99 | } |