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 46929fb24f3c1fe64e01ac5c7dc541558d9c7ddb..3cef1b8f57f01a4d70ff2f376a4cda1289bea7fa 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));
 
+#ifdef CONFIG_PPC_MULTIPLATFORM
        /* map in PCI I/O space */
        phbs_remap_io();
+#endif
 
        printk("PCI: Probing PCI hardware done\n");