]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/asm-i386/ide.h
x86_64: x86_64 - Use non locked version for local_cmpxchg()
[linux-2.6-omap-h63xx.git] / include / asm-i386 / ide.h
index 73465d2892b92e27183e3427dc0d4783c9b8f6b0..e7817a3d6578009f29d750884010933266ca5f3c 100644 (file)
@@ -46,7 +46,7 @@ static __inline__ unsigned long ide_default_io_base(int index)
         *      defined compatibility mode ports for PCI. A user can 
         *      override this using ide= but we must default safe.
         */
-       if (pci_find_device(PCI_ANY_ID, PCI_ANY_ID, NULL) == NULL) {
+       if (no_pci_devices()) {
                switch(index) {
                        case 2: return 0x1e8;
                        case 3: return 0x168;