From: Chris Dearman Date: Thu, 6 Dec 2007 15:35:54 +0000 (+0000) Subject: [MIPS] Don't byteswap writes to display when running bigendian X-Git-Tag: v2.6.24-rc5~2^2~4 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=6d2d419ffd83502d105014288e6af171a0a89544;p=linux-2.6-omap-h63xx.git [MIPS] Don't byteswap writes to display when running bigendian Signed-off-by: Chris Dearman Signed-off-by: Ralf Baechle --- diff --git a/arch/mips/mips-boards/generic/display.c b/arch/mips/mips-boards/generic/display.c index 5d600054090..2a0057cfc30 100644 --- a/arch/mips/mips-boards/generic/display.c +++ b/arch/mips/mips-boards/generic/display.c @@ -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); } }