diff options
author | Joerg Roedel <jroedel@suse.de> | 2015-06-30 08:56:11 +0200 |
---|---|---|
committer | Joerg Roedel <jroedel@suse.de> | 2015-07-01 08:43:07 +0200 |
commit | 7a5a566eab48da7522f601f96aef3af102178046 (patch) | |
tree | 04aa5c7a5d77036e8a83f52a7b3585772627ca75 /kernel/task_work.c | |
parent | iommu/arm-smmu: Delete an unnecessary check before the function call "free_io... (diff) | |
download | linux-7a5a566eab48da7522f601f96aef3af102178046.tar.xz linux-7a5a566eab48da7522f601f96aef3af102178046.zip |
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 <xuw2015@gmail.com>
Tested-by: George Wang <xuw2015@gmail.com>
Signed-off-by: Joerg Roedel <jroedel@suse.de>
Diffstat (limited to 'kernel/task_work.c')
0 files changed, 0 insertions, 0 deletions