diff options
Diffstat (limited to 'arch/sparc64/kernel/pci_psycho.c')
-rw-r--r-- | arch/sparc64/kernel/pci_psycho.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/arch/sparc64/kernel/pci_psycho.c b/arch/sparc64/kernel/pci_psycho.c index 3725910c8b2b..253d40ec2245 100644 --- a/arch/sparc64/kernel/pci_psycho.c +++ b/arch/sparc64/kernel/pci_psycho.c | |||
@@ -269,7 +269,7 @@ static void __psycho_check_one_stc(struct pci_controller_info *p, | |||
269 | struct pci_pbm_info *pbm, | 269 | struct pci_pbm_info *pbm, |
270 | int is_pbm_a) | 270 | int is_pbm_a) |
271 | { | 271 | { |
272 | struct pci_strbuf *strbuf = &pbm->stc; | 272 | struct strbuf *strbuf = &pbm->stc; |
273 | unsigned long regbase = p->pbm_A.controller_regs; | 273 | unsigned long regbase = p->pbm_A.controller_regs; |
274 | unsigned long err_base, tag_base, line_base; | 274 | unsigned long err_base, tag_base, line_base; |
275 | u64 control; | 275 | u64 control; |
@@ -418,7 +418,7 @@ static void psycho_check_iommu_error(struct pci_controller_info *p, | |||
418 | unsigned long afar, | 418 | unsigned long afar, |
419 | enum psycho_error_type type) | 419 | enum psycho_error_type type) |
420 | { | 420 | { |
421 | struct pci_iommu *iommu = p->pbm_A.iommu; | 421 | struct iommu *iommu = p->pbm_A.iommu; |
422 | unsigned long iommu_tag[16]; | 422 | unsigned long iommu_tag[16]; |
423 | unsigned long iommu_data[16]; | 423 | unsigned long iommu_data[16]; |
424 | unsigned long flags; | 424 | unsigned long flags; |
@@ -941,7 +941,7 @@ static void psycho_scan_bus(struct pci_controller_info *p) | |||
941 | 941 | ||
942 | static void psycho_iommu_init(struct pci_controller_info *p) | 942 | static void psycho_iommu_init(struct pci_controller_info *p) |
943 | { | 943 | { |
944 | struct pci_iommu *iommu = p->pbm_A.iommu; | 944 | struct iommu *iommu = p->pbm_A.iommu; |
945 | unsigned long i; | 945 | unsigned long i; |
946 | u64 control; | 946 | u64 control; |
947 | 947 | ||
@@ -1131,7 +1131,7 @@ void psycho_init(struct device_node *dp, char *model_name) | |||
1131 | { | 1131 | { |
1132 | struct linux_prom64_registers *pr_regs; | 1132 | struct linux_prom64_registers *pr_regs; |
1133 | struct pci_controller_info *p; | 1133 | struct pci_controller_info *p; |
1134 | struct pci_iommu *iommu; | 1134 | struct iommu *iommu; |
1135 | struct property *prop; | 1135 | struct property *prop; |
1136 | u32 upa_portid; | 1136 | u32 upa_portid; |
1137 | int is_pbm_a; | 1137 | int is_pbm_a; |
@@ -1154,7 +1154,7 @@ void psycho_init(struct device_node *dp, char *model_name) | |||
1154 | prom_printf("PSYCHO: Fatal memory allocation error.\n"); | 1154 | prom_printf("PSYCHO: Fatal memory allocation error.\n"); |
1155 | prom_halt(); | 1155 | prom_halt(); |
1156 | } | 1156 | } |
1157 | iommu = kzalloc(sizeof(struct pci_iommu), GFP_ATOMIC); | 1157 | iommu = kzalloc(sizeof(struct iommu), GFP_ATOMIC); |
1158 | if (!iommu) { | 1158 | if (!iommu) { |
1159 | prom_printf("PSYCHO: Fatal memory allocation error.\n"); | 1159 | prom_printf("PSYCHO: Fatal memory allocation error.\n"); |
1160 | prom_halt(); | 1160 | prom_halt(); |