]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
[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 5d600054090a5c258a448a77340de12d205fd906..2a0057cfc30de612d4b7359021a6d13b37b4c002 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);
        }
 }