iommu/core: use the existing IS_ALIGNED macro
authorOhad Ben-Cohen <ohad@wizery.com>
Fri, 2 Sep 2011 17:32:32 +0000 (13:32 -0400)
committerHiroshi DOYU <hdoyu@nvidia.com>
Mon, 23 Jan 2012 09:11:32 +0000 (11:11 +0200)
commit9bedc101168cb42071107d55e75cf4a12275b339
tree0eb3551fe2abdcdff538eff56bf255c8d9baef08
parentbdb194167f60d6217867c139c4e31a1361bbdf3d
iommu/core: use the existing IS_ALIGNED macro

Replace iommu's alignment checks with the existing IS_ALIGNED macro,
to drop a few lines of code and utilize IS_ALIGNED's type safety.

Signed-off-by: Ohad Ben-Cohen <ohad@wizery.com>
Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
drivers/iommu/iommu.c