summaryrefslogtreecommitdiffstats
path: root/include/asm-ppc64/iommu.h
diff options
context:
space:
mode:
authorStephen Rothwell <sfr@canb.auug.org.au>2005-06-22 02:15:52 +0200
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-06-22 03:46:31 +0200
commit145d01e4287b8cbf50f87c3283e33bf5c84e8468 (patch)
tree368786294f6cf7b8b909aceaac8cc4d90be2ab7d /include/asm-ppc64/iommu.h
parent[PATCH] ppc64 iSeries: tidy up irq code after merge (diff)
downloadlinux-145d01e4287b8cbf50f87c3283e33bf5c84e8468.tar.xz
linux-145d01e4287b8cbf50f87c3283e33bf5c84e8468.zip
[PATCH] ppc64 iSeries: allow build with no PCI
This patch allows iSeries to build with CONFIG_PCI=n. This is useful for partitions that have only virtual I/O. Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include/asm-ppc64/iommu.h')
-rw-r--r--include/asm-ppc64/iommu.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/asm-ppc64/iommu.h b/include/asm-ppc64/iommu.h
index d9b53374d23a..729de5cc21d9 100644
--- a/include/asm-ppc64/iommu.h
+++ b/include/asm-ppc64/iommu.h
@@ -137,8 +137,12 @@ extern void iommu_init_early_pSeries(void);
extern void iommu_init_early_iSeries(void);
extern void iommu_init_early_u3(void);
+#ifdef CONFIG_PCI
extern void pci_iommu_init(void);
extern void pci_direct_iommu_init(void);
+#else
+static inline void pci_iommu_init(void) { }
+#endif
extern void alloc_u3_dart_table(void);