aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sparc64/kernel/pci_iommu.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/sparc64/kernel/pci_iommu.c')
-rw-r--r--arch/sparc64/kernel/pci_iommu.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/sparc64/kernel/pci_iommu.c b/arch/sparc64/kernel/pci_iommu.c
index aefdcc51045b..355ed0ba937a 100644
--- a/arch/sparc64/kernel/pci_iommu.c
+++ b/arch/sparc64/kernel/pci_iommu.c
@@ -77,7 +77,7 @@ static inline void iopte_make_dummy(struct pci_iommu *iommu, iopte_t *iopte)
77/* Based largely upon the ppc64 iommu allocator. */ 77/* Based largely upon the ppc64 iommu allocator. */
78static long pci_arena_alloc(struct pci_iommu *iommu, unsigned long npages) 78static long pci_arena_alloc(struct pci_iommu *iommu, unsigned long npages)
79{ 79{
80 struct pci_iommu_arena *arena = &iommu->arena; 80 struct iommu_arena *arena = &iommu->arena;
81 unsigned long n, i, start, end, limit; 81 unsigned long n, i, start, end, limit;
82 int pass; 82 int pass;
83 83
@@ -116,7 +116,7 @@ again:
116 return n; 116 return n;
117} 117}
118 118
119static void pci_arena_free(struct pci_iommu_arena *arena, unsigned long base, unsigned long npages) 119static void pci_arena_free(struct iommu_arena *arena, unsigned long base, unsigned long npages)
120{ 120{
121 unsigned long i; 121 unsigned long i;
122 122