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)
committerJoerg Roedel <joerg.roedel@amd.com>
Mon, 5 Sep 2011 13:15:59 +0000 (15:15 +0200)
commit4099818842abd98ef2b18a8ac7a2e2ad3bc3d7c2
treea7486a45b806b8cf42d8996e712ab4e9d31d620e
parent403f81d8ee532c976d50a5e1051f14ec78ae8db3
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