x86_64: early_print kernel console should send CRLF not LFCR
[pandora-kernel.git] / arch / x86_64 / kernel / early_printk.c
index 56eaa25..296d2b0 100644 (file)
@@ -91,9 +91,9 @@ static int early_serial_putc(unsigned char ch)
 static void early_serial_write(struct console *con, const char *s, unsigned n)
 {
        while (*s && n-- > 0) {
-               early_serial_putc(*s);
                if (*s == '\n')
                        early_serial_putc('\r');
+               early_serial_putc(*s);
                s++;
        }
 }