aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFabian Frederick <fabf@skynet.be>2014-06-14 18:24:26 -0400
committerRob Clark <robdclark@gmail.com>2014-06-22 08:32:10 -0400
commitcf3198c2051a180d0cb469b275b2fb30a0533772 (patch)
tree653b704312e227b95eb32de3191922b6ac0b11c6
parentb77f47e78982807286f6fdb4c39f9e798606dace (diff)
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>
-rw-r--r--drivers/gpu/drm/msm/msm_iommu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/msm/msm_iommu.c b/drivers/gpu/drm/msm/msm_iommu.c
index 92b745986231..198ed848fec7 100644
--- a/drivers/gpu/drm/msm/msm_iommu.c
+++ b/drivers/gpu/drm/msm/msm_iommu.c
@@ -110,7 +110,7 @@ static int msm_iommu_unmap(struct msm_mmu *mmu, uint32_t iova,
110 110
111 VERB("unmap[%d]: %08x(%x)", i, iova, bytes); 111 VERB("unmap[%d]: %08x(%x)", i, iova, bytes);
112 112
113 BUG_ON(!IS_ALIGNED(bytes, PAGE_SIZE)); 113 BUG_ON(!PAGE_ALIGNED(bytes));
114 114
115 da += bytes; 115 da += bytes;
116 } 116 }