powerpc: fix iSeries build
authorStephen Rothwell <sfr@canb.auug.org.au>
Thu, 10 Nov 2005 05:07:12 +0000 (16:07 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Thu, 10 Nov 2005 05:07:12 +0000 (16:07 +1100)
Only MULTIPLATFORM has phbs_remap_io.

Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
arch/ppc64/kernel/pci.c

index 46929fb..3cef1b8 100644 (file)
@@ -548,8 +548,10 @@ static int __init pcibios_init(void)
        if (ppc64_isabridge_dev != NULL)
                printk("ISA bridge at %s\n", pci_name(ppc64_isabridge_dev));
 
        if (ppc64_isabridge_dev != NULL)
                printk("ISA bridge at %s\n", pci_name(ppc64_isabridge_dev));
 
+#ifdef CONFIG_PPC_MULTIPLATFORM
        /* map in PCI I/O space */
        phbs_remap_io();
        /* map in PCI I/O space */
        phbs_remap_io();
+#endif
 
        printk("PCI: Probing PCI hardware done\n");
 
 
        printk("PCI: Probing PCI hardware done\n");