OSDN Git Service
(root)
/
uclinux-h8
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b77f47e
)
drm/msm: use PAGE_ALIGNED instead of IS_ALIGNED(PAGE_SIZE)
author
Fabian Frederick
<fabf@skynet.be>
Sat, 14 Jun 2014 22:24:26 +0000
(
00:24
+0200)
committer
Rob 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
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/msm/msm_iommu.c
b/drivers/gpu/drm/msm/msm_iommu.c
index
92b7459
..
198ed84
100644
(file)
--- 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,
VERB("unmap[%d]: %08x(%x)", i, iova, bytes);
- BUG_ON(!
IS_ALIGNED(bytes, PAGE_SIZE
));
+ BUG_ON(!
PAGE_ALIGNED(bytes
));
da += bytes;
}