diff options
-rw-r--r-- | arch/ppc64/kernel/iSeries_vio.c | 3 | ||||
-rw-r--r-- | arch/ppc64/mm/init.c | 3 | ||||
-rw-r--r-- | include/asm-ppc64/iommu.h | 3 |
3 files changed, 2 insertions, 7 deletions
diff --git a/arch/ppc64/kernel/iSeries_vio.c b/arch/ppc64/kernel/iSeries_vio.c index e876b4380278..48f0ebf4405d 100644 --- a/arch/ppc64/kernel/iSeries_vio.c +++ b/arch/ppc64/kernel/iSeries_vio.c | |||
@@ -27,7 +27,7 @@ EXPORT_SYMBOL(iSeries_vio_dev); | |||
27 | static struct iommu_table veth_iommu_table; | 27 | static struct iommu_table veth_iommu_table; |
28 | static struct iommu_table vio_iommu_table; | 28 | static struct iommu_table vio_iommu_table; |
29 | 29 | ||
30 | void __init iommu_vio_init(void) | 30 | static void __init iommu_vio_init(void) |
31 | { | 31 | { |
32 | struct iommu_table *t; | 32 | struct iommu_table *t; |
33 | struct iommu_table_cb cb; | 33 | struct iommu_table_cb cb; |
@@ -123,6 +123,7 @@ static int __init vio_bus_init_iseries(void) | |||
123 | 123 | ||
124 | err = vio_bus_init(); | 124 | err = vio_bus_init(); |
125 | if (err == 0) { | 125 | if (err == 0) { |
126 | iommu_vio_init(); | ||
126 | vio_bus_device.iommu_table = &vio_iommu_table; | 127 | vio_bus_device.iommu_table = &vio_iommu_table; |
127 | iSeries_vio_dev = &vio_bus_device.dev; | 128 | iSeries_vio_dev = &vio_bus_device.dev; |
128 | probe_bus_iseries(); | 129 | probe_bus_iseries(); |
diff --git a/arch/ppc64/mm/init.c b/arch/ppc64/mm/init.c index 87f256df8de5..9edfe267123e 100644 --- a/arch/ppc64/mm/init.c +++ b/arch/ppc64/mm/init.c | |||
@@ -686,9 +686,6 @@ void __init mem_init(void) | |||
686 | 686 | ||
687 | mem_init_done = 1; | 687 | mem_init_done = 1; |
688 | 688 | ||
689 | #ifdef CONFIG_PPC_ISERIES | ||
690 | iommu_vio_init(); | ||
691 | #endif | ||
692 | /* Initialize the vDSO */ | 689 | /* Initialize the vDSO */ |
693 | vdso_init(); | 690 | vdso_init(); |
694 | } | 691 | } |
diff --git a/include/asm-ppc64/iommu.h b/include/asm-ppc64/iommu.h index 729de5cc21d9..72dcf8116b04 100644 --- a/include/asm-ppc64/iommu.h +++ b/include/asm-ppc64/iommu.h | |||
@@ -104,9 +104,6 @@ extern void iommu_devnode_init_pSeries(struct device_node *dn); | |||
104 | 104 | ||
105 | #ifdef CONFIG_PPC_ISERIES | 105 | #ifdef CONFIG_PPC_ISERIES |
106 | 106 | ||
107 | /* Initializes tables for bio buses */ | ||
108 | extern void __init iommu_vio_init(void); | ||
109 | |||
110 | struct iSeries_Device_Node; | 107 | struct iSeries_Device_Node; |
111 | /* Creates table for an individual device node */ | 108 | /* Creates table for an individual device node */ |
112 | extern void iommu_devnode_init_iSeries(struct iSeries_Device_Node *dn); | 109 | extern void iommu_devnode_init_iSeries(struct iSeries_Device_Node *dn); |