summaryrefslogtreecommitdiffstats
path: root/arch/mips
diff options
context:
space:
mode:
authorChris Dearman <chris@mips.com>2007-12-06 16:35:54 +0100
committerRalf Baechle <ralf@linux-mips.org>2007-12-09 05:51:09 +0100
commit6d2d419ffd83502d105014288e6af171a0a89544 (patch)
treef7bc3aef5a2cbf2079784e2da3e7bb5fbaf097e2 /arch/mips
parentMerge branch 'upstream-linus' of master.kernel.org:/pub/scm/linux/kernel/git/... (diff)
downloadlinux-6d2d419ffd83502d105014288e6af171a0a89544.tar.xz
linux-6d2d419ffd83502d105014288e6af171a0a89544.zip
[MIPS] Don't byteswap writes to display when running bigendian
Signed-off-by: Chris Dearman <chris@mips.com> Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips')
-rw-r--r--arch/mips/mips-boards/generic/display.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/mips/mips-boards/generic/display.c b/arch/mips/mips-boards/generic/display.c
index 5d600054090a..2a0057cfc30d 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);
}
}