commit | 745f2586e78efc5c226a60cfc8e7fbd735b1c856 | [log] [tgz] |
---|---|---|
author | Jiang Liu <jiang.liu@linux.intel.com> | Wed Feb 19 14:07:26 2014 +0800 |
committer | Joerg Roedel <joro@8bytes.org> | Tue Mar 04 17:51:01 2014 +0100 |
tree | bc4cb38cbf06f6df84d9e353bbed4a4f12c5b46d | |
parent | b94e4117f8c4ffb591b1e462364d725e3a1c63c4 [diff] |
iommu/vt-d: Simplify function get_domain_for_dev() Function get_domain_for_dev() is a little complex, simplify it by factoring out dmar_search_domain_by_dev_info() and dmar_insert_dev_info(). Signed-off-by: Jiang Liu <jiang.liu@linux.intel.com> Signed-off-by: Joerg Roedel <joro@8bytes.org>