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)
commit7c9197791a0cbbbb0f74aade3339f8e5890fbd15
tree7de99c18c2b40d43decb634b22b03686b6e703db
parent2fe2c6025d6a4939ae2fc97d1d761fc4a8d1abd9
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>
drivers/iommu/dmar.c
drivers/iommu/intel-iommu.c
drivers/iommu/intel_irq_remapping.c
include/linux/dmar.h
This page took 0.02572 seconds and 5 git commands to generate.