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)
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>

No differences found