diff options
author | David S. Miller <davem@sunset.davemloft.net> | 2007-04-25 02:51:18 -0400 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2007-04-26 04:55:42 -0400 |
commit | 9b3627f389c07c5be9c86ac4d472a0d4fd47feac (patch) | |
tree | 4e00925c81102399ec57e4eefe647dc23710a66d /arch/sparc64/kernel/pci_iommu.c | |
parent | 711b360d64418e88ed45f812e0ebd202073d888d (diff) |
[SPARC64]: Consolidate {sbus,pci}_iommu_arena.
Move to asm-sparc64/iommu.h and rename to plain "iommu_arena".
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/sparc64/kernel/pci_iommu.c')
-rw-r--r-- | arch/sparc64/kernel/pci_iommu.c | 4 |
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. */ |
78 | static long pci_arena_alloc(struct pci_iommu *iommu, unsigned long npages) | 78 | static 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 | ||
119 | static void pci_arena_free(struct pci_iommu_arena *arena, unsigned long base, unsigned long npages) | 119 | static 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 | ||