summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorChris Dearman <chris@mips.com>2009-07-10 01:53:54 -0700
committerRalf Baechle <ralf@linux-mips.org>2009-11-02 12:00:04 +0100
commitaccfd35a4e82148ff3d6e1946c1786e73fb408fd (patch)
tree213b840ce84cdd635c9f0344dea693fe9313371b /arch
parent0f334a3e8c3586f81286345eb077ed32b375e8d6 (diff)
downloadop-kernel-dev-accfd35a4e82148ff3d6e1946c1786e73fb408fd.zip
op-kernel-dev-accfd35a4e82148ff3d6e1946c1786e73fb408fd.tar.gz
MIPS: MTI: Fix accesses to device registers on MIPS boards
This fixes the remaining problems introduced by f197465384bf7ef1af184c2ed1a4e268911a91e3 (incorrect access length & byteswapping in bigendian mode) Signed-off-by: Chris Dearman <chris@mips.com> Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch')
-rw-r--r--arch/mips/mti-malta/malta-int.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/mti-malta/malta-int.c b/arch/mips/mti-malta/malta-int.c
index 3e0a9b3..e568d0d 100644
--- a/arch/mips/mti-malta/malta-int.c
+++ b/arch/mips/mti-malta/malta-int.c
@@ -87,7 +87,7 @@ static inline int mips_pcibios_iack(void)
dummy = BONITO_PCIMAP_CFG;
iob(); /* sync */
- irq = readl((u32 *)_pcictrl_bonito_pcicfg);
+ irq = __raw_readl((u32 *)_pcictrl_bonito_pcicfg);
iob(); /* sync */
irq &= 0xff;
BONITO_PCIMAP_CFG = 0;
OpenPOWER on IntegriCloud