commit | 7c9197791a0cbbbb0f74aade3339f8e5890fbd15 | [log] [tgz] |
---|---|---|
author | Jiang Liu <jiang.liu@linux.intel.com> | Mon Jan 06 14:18:18 2014 +0800 |
committer | Joerg Roedel <joro@8bytes.org> | Thu Jan 09 12:43:37 2014 +0100 |
tree | 7de99c18c2b40d43decb634b22b03686b6e703db | |
parent | 2fe2c6025d6a4939ae2fc97d1d761fc4a8d1abd9 [diff] |
iommu/vt-d, trivial: simplify code with existing macros Simplify vt-d related code with existing macros and introduce a new macro for_each_active_drhd_unit() to enumerate all active DRHD unit. Signed-off-by: Jiang Liu <jiang.liu@linux.intel.com> Signed-off-by: Joerg Roedel <joro@8bytes.org>