iommu/vt-d: Introduce helper domain_pfn_within_range() to simplify code
authorJiang Liu <jiang.liu@linux.intel.com>
Fri, 11 Jul 2014 06:19:35 +0000 (14:19 +0800)
committerJoerg Roedel <jroedel@suse.de>
Wed, 23 Jul 2014 14:04:47 +0000 (16:04 +0200)
commit162d1b10d4d38065efec690c2b05ee90dfcf170c
treec1852cabd78648e446da9089f86754dda3cabe04
parentd41a4adb1b9208a0ee59e6b4752853c1dd27cc2c
iommu/vt-d: Introduce helper domain_pfn_within_range() to simplify code

Introduce helper function domain_pfn_within_range() to simplify code
and improve readability.

Signed-off-by: Jiang Liu <jiang.liu@linux.intel.com>
Signed-off-by: Joerg Roedel <jroedel@suse.de>
drivers/iommu/intel-iommu.c