powerpc/iommu: Push spinlock into iommu_range_alloc and __iommu_free
authorAnton Blanchard <anton@samba.org>
Sun, 3 Jun 2012 19:44:25 +0000 (19:44 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Tue, 3 Jul 2012 04:14:47 +0000 (14:14 +1000)
commitd362213722c8875b40d712796392682968ce685e
treecd982b44d3a1a41a52a57ed88fe3897f98001259
parent67ca141567519a6b0ec81850a7b6569b6d8c2b52
powerpc/iommu: Push spinlock into iommu_range_alloc and __iommu_free

In preparation for IOMMU pools, push the spinlock into
iommu_range_alloc and __iommu_free.

Signed-off-by: Anton Blanchard <anton@samba.org>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/kernel/iommu.c