[MIPS] Don't byteswap writes to display when running bigendian
authorChris Dearman <chris@mips.com>
Thu, 6 Dec 2007 15:35:54 +0000 (15:35 +0000)
committerRalf Baechle <ralf@linux-mips.org>
Sun, 9 Dec 2007 04:51:09 +0000 (04:51 +0000)
Signed-off-by: Chris Dearman <chris@mips.com>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/mips-boards/generic/display.c

index 5d60005..2a0057c 100644 (file)
@@ -37,9 +37,9 @@ void mips_display_message(const char *str)
 
        for (i = 0; i <= 14; i=i+2) {
                 if (*str)
-                        writel(*str++, display + i);
+                        __raw_writel(*str++, display + i);
                 else
-                        writel(' ', display + i);
+                        __raw_writel(' ', display + i);
        }
 }