aboutsummaryrefslogtreecommitdiff
path: root/arch/ppc64
diff options
context:
space:
mode:
authorStephen Rothwell <sfr@canb.auug.org.au>2005-11-10 16:07:12 +1100
committerStephen Rothwell <sfr@canb.auug.org.au>2005-11-10 16:07:12 +1100
commitfe360cdfd26503a6def1dfebc0ef8371c5071340 (patch)
tree9f2a21980c0a02a0f29fdc95ff9a265f5c094830 /arch/ppc64
parent0c95fbb25602caa02ef697c3852cd61f9829e6ff (diff)
powerpc: fix iSeries build
Only MULTIPLATFORM has phbs_remap_io. Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Diffstat (limited to 'arch/ppc64')
-rw-r--r--arch/ppc64/kernel/pci.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/ppc64/kernel/pci.c b/arch/ppc64/kernel/pci.c
index 46929fb24f3..3cef1b8f57f 100644
--- a/arch/ppc64/kernel/pci.c
+++ b/arch/ppc64/kernel/pci.c
@@ -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");