iommu/vt-d, trivial: simplify code with existing macros
authorJiang Liu <jiang.liu@linux.intel.com>
Mon, 6 Jan 2014 06:18:18 +0000 (14:18 +0800)
committerJoerg Roedel <joro@8bytes.org>
Thu, 9 Jan 2014 11:43:37 +0000 (12:43 +0100)
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>
drivers/iommu/dmar.c
drivers/iommu/intel-iommu.c
drivers/iommu/intel_irq_remapping.c
include/linux/dmar.h

Simple merge
Simple merge
Simple merge
Simple merge