summaryrefslogtreecommitdiffstats
path: root/arch/ppc64
diff options
context:
space:
mode:
authorStephen Rothwell <sfr@canb.auug.org.au>2005-11-10 06:07:12 +0100
committerStephen Rothwell <sfr@canb.auug.org.au>2005-11-10 06:07:12 +0100
commitfe360cdfd26503a6def1dfebc0ef8371c5071340 (patch)
tree9f2a21980c0a02a0f29fdc95ff9a265f5c094830 /arch/ppc64
parentMerge git://oak/home/sfr/kernels/iseries/work (diff)
downloadlinux-fe360cdfd26503a6def1dfebc0ef8371c5071340.tar.xz
linux-fe360cdfd26503a6def1dfebc0ef8371c5071340.zip
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 46929fb24f3c..3cef1b8f57f0 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");