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: Fabian Frederick <fabf@skynet.be> Signed-off-by: Rob Clark <robdclark@gmail.com>
This commit is contained in:
parent
b77f47e789
commit
cf3198c205
|
@ -110,7 +110,7 @@ static int msm_iommu_unmap(struct msm_mmu *mmu, uint32_t iova,
|
||||||
|
|
||||||
VERB("unmap[%d]: %08x(%x)", i, iova, bytes);
|
VERB("unmap[%d]: %08x(%x)", i, iova, bytes);
|
||||||
|
|
||||||
BUG_ON(!IS_ALIGNED(bytes, PAGE_SIZE));
|
BUG_ON(!PAGE_ALIGNED(bytes));
|
||||||
|
|
||||||
da += bytes;
|
da += bytes;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue