commit | ab8dfe251571e4a04d367e47e5be93976a77c610 | [log] [tgz] |
---|---|---|
author | Jiang Liu <jiang.liu@linux.intel.com> | Fri Jul 11 14:19:27 2014 +0800 |
committer | Joerg Roedel <jroedel@suse.de> | Wed Jul 23 16:04:46 2014 +0200 |
tree | 585c9aac66db081f7f4911b571e577f108150feb | |
parent | 18fd779a41eff52b597bd2d327194f98a83de4af [diff] |
iommu/vt-d: Introduce helper functions to improve code readability Introduce domain_type_is_vm() and domain_type_is_vm_or_si() to improve code readability. Also kill useless macro DOMAIN_FLAG_P2P_MULTIPLE_DEVICES. Signed-off-by: Jiang Liu <jiang.liu@linux.intel.com> Signed-off-by: Joerg Roedel <jroedel@suse.de>