drm/msm: use PAGE_ALIGNED instead of IS_ALIGNED(PAGE_SIZE)
authorFabian Frederick <fabf@skynet.be>
Sat, 14 Jun 2014 22:24:26 +0000 (00:24 +0200)
committerRob Clark <robdclark@gmail.com>
Sun, 22 Jun 2014 12:32:10 +0000 (08:32 -0400)
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>
drivers/gpu/drm/msm/msm_iommu.c

index 92b7459862314a6e41756fae21d5496329b0be5c..198ed848fec7c13b2feef878b4a895ec854abe70 100644 (file)
@@ -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;
        }
This page took 0.029606 seconds and 5 git commands to generate.