diff options
author | David S. Miller <davem@davemloft.net> | 2015-04-18 22:31:25 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-04-18 22:31:25 +0300 |
commit | c12f048ffdf3a5802239426dc290290929268dc9 (patch) | |
tree | 89fa401142c58061744653492ca8b720d5b2d7b5 /arch/sparc/kernel/iommu_common.h | |
parent | 04b7fe6a4a231871ef681bc95e08fe66992f7b1f (diff) | |
download | linux-c12f048ffdf3a5802239426dc290290929268dc9.tar.xz |
sparc: Revert generic IOMMU allocator.
I applied the wrong version of this patch series, V4 instead
of V10, due to a patchwork bundling snafu.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/sparc/kernel/iommu_common.h')
-rw-r--r-- | arch/sparc/kernel/iommu_common.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/sparc/kernel/iommu_common.h b/arch/sparc/kernel/iommu_common.h index f4be0d724fc6..1ec0de4156e7 100644 --- a/arch/sparc/kernel/iommu_common.h +++ b/arch/sparc/kernel/iommu_common.h @@ -48,4 +48,12 @@ static inline int is_span_boundary(unsigned long entry, return iommu_is_span_boundary(entry, nr, shift, boundary_size); } +unsigned long iommu_range_alloc(struct device *dev, + struct iommu *iommu, + unsigned long npages, + unsigned long *handle); +void iommu_range_free(struct iommu *iommu, + dma_addr_t dma_addr, + unsigned long npages); + #endif /* _IOMMU_COMMON_H */ |