]> git.karo-electronics.de Git - karo-tx-linux.git/commit
MIPS: CM: use __raw_ memory access functions
authorPaul Burton <paul.burton@imgtec.com>
Mon, 24 Mar 2014 10:19:34 +0000 (10:19 +0000)
committerRalf Baechle <ralf@linux-mips.org>
Mon, 31 Mar 2014 16:17:13 +0000 (18:17 +0200)
commitcd217546602dbfe96c3f8e8025eb750fadf1ab4f
treedc34f45668bf59f3c674a8dc868971bf59bdfe3a
parentb966087b5145e044b033ea6bb6c16a3b5dc4c48e
MIPS: CM: use __raw_ memory access functions

The CM registers use native endianness, so using plain readl & writel
will produce incorrect results on big endian systems.

Reported-by: Jeffrey Deans <jeffrey.deans@imgtec.com>
Signed-off-by: Paul Burton <paul.burton@imgtec.com>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/6656/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/include/asm/mips-cm.h