From: Joerg Roedel Date: Tue, 30 Jun 2015 06:56:11 +0000 (+0200) Subject: iommu/amd: Introduce protection_domain_init() function X-Git-Tag: omap-for-v4.2/fixes-rc1^2~58^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7a5a566eab48da7522f601f96aef3af102178046;p=pandora-kernel.git iommu/amd: Introduce protection_domain_init() function This function contains the common parts between the initialization of dma_ops_domains and usual protection domains. This also fixes a long-standing bug which was uncovered by recent changes, in which the api_lock was not initialized for dma_ops_domains. Reported-by: George Wang Tested-by: George Wang Signed-off-by: Joerg Roedel --- Reading git-diff-tree failed