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-Url: https://git.stricted.de/?a=commitdiff_plain;h=6d2d419ffd83502d105014288e6af171a0a89544;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.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 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); } }