diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2007-03-24 15:26:13 +0100 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2007-03-24 18:01:50 +0100 |
commit | 8fb303c7f1118b0a82aa08e33429adf9b5ad192c (patch) | |
tree | f0da545839b23136dd2dd167125d3c4bef920348 /arch/mips/pci/pci-sb1250.c | |
parent | [MIPS] SB1: Fix pile of gcc's bogus format string warnings. (diff) | |
download | linux-8fb303c7f1118b0a82aa08e33429adf9b5ad192c.tar.xz linux-8fb303c7f1118b0a82aa08e33429adf9b5ad192c.zip |
[MIPS] SB1250: Fix bugs/warnings by creative use of volatile.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/pci/pci-sb1250.c')
-rw-r--r-- | arch/mips/pci/pci-sb1250.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/pci/pci-sb1250.c b/arch/mips/pci/pci-sb1250.c index 80f5e8c4bcd4..75c1246ced5f 100644 --- a/arch/mips/pci/pci-sb1250.c +++ b/arch/mips/pci/pci-sb1250.c @@ -228,7 +228,7 @@ static int __init sb1250_pcibios_init(void) /* * See if the PCI bus has been configured by the firmware. */ - reg = *((volatile uint64_t *) IOADDR(A_SCD_SYSTEM_CFG)); + reg = __raw_readq(IOADDR(A_SCD_SYSTEM_CFG)); if (!(reg & M_SYS_PCI_HOST)) { sb1250_bus_status |= PCI_DEVICE_MODE; } else { |