]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - arch/mips/pci/pci-sb1250.c
[MIPS] SB1250: Fix bugs/warnings by creative use of volatile.
[linux-2.6-omap-h63xx.git] / arch / mips / pci / pci-sb1250.c
index 80f5e8c4bcd47e203822d9dc3df74c7ceb3b00a1..75c1246ced5f26a37c391fa93f8ef7a4ec554dbe 100644 (file)
@@ -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 {