OSDN Git Service

iommu/arm-smmu: Make use of domain_alloc and domain_free
authorJoerg Roedel <jroedel@suse.de>
Thu, 26 Mar 2015 12:43:10 +0000 (13:43 +0100)
committerDavid Keitel <dkeitel@codeaurora.org>
Tue, 22 Mar 2016 18:14:56 +0000 (11:14 -0700)
commit087f4111297321874547a587db85336c735d19f0
treee269f1706d95e6c5983c3d40d82a830b5573282c
parent644d1f162ca8034959314312c7ac5d066bdc93fc
iommu/arm-smmu: Make use of domain_alloc and domain_free

Implement domain_alloc and domain_free iommu-ops as a
replacement for domain_init/domain_destroy.

Change-Id: Ie503be088fe85a1a8e8242d133d3f7c0d61cb458
Acked-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Joerg Roedel <jroedel@suse.de>
[pdaly@codeaurora.org Use to_iommu_domain()]
drivers/iommu/arm-smmu.c