Skip to content

Commit

Permalink
[MIPS] Don't byteswap writes to display when running bigendian
Browse files Browse the repository at this point in the history
Signed-off-by: Chris Dearman <chris@mips.com>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
  • Loading branch information
Chris Dearman authored and Ralf Baechle committed Dec 9, 2007
1 parent 94545ba commit 6d2d419
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions arch/mips/mips-boards/generic/display.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
}

Expand Down

0 comments on commit 6d2d419

Please sign in to comment.