Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit cf3198c2 authored by Fabian Frederick's avatar Fabian Frederick Committed by Rob Clark
Browse files

drm/msm: use PAGE_ALIGNED instead of IS_ALIGNED(PAGE_SIZE)



use mm.h definition

Cc: David Airlie <airlied@linux.ie>
Cc: Rob Clark <robdclark@gmail.com>
Signed-off-by: default avatarFabian Frederick <fabf@skynet.be>
Signed-off-by: default avatarRob Clark <robdclark@gmail.com>
parent b77f47e7
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -110,7 +110,7 @@ static int msm_iommu_unmap(struct msm_mmu *mmu, uint32_t iova,

		VERB("unmap[%d]: %08x(%x)", i, iova, bytes);

		BUG_ON(!IS_ALIGNED(bytes, PAGE_SIZE));
		BUG_ON(!PAGE_ALIGNED(bytes));

		da += bytes;
	}