projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2fc2dd7
)
drm/bochs: replace ALIGN(PAGE_SIZE) by PAGE_ALIGN
author
Fabian Frederick
<fabf@skynet.be>
Tue, 1 Jul 2014 19:02:03 +0000
(21:02 +0200)
committer
David Herrmann
<dh.herrmann@gmail.com>
Mon, 7 Jul 2014 22:34:19 +0000
(
00:34
+0200)
use mm.h definition
Signed-off-by: Fabian Frederick <fabf@skynet.be>
Signed-off-by: David Herrmann <dh.herrmann@gmail.com>
drivers/gpu/drm/bochs/bochs_mm.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/gpu/drm/bochs/bochs_mm.c
b/drivers/gpu/drm/bochs/bochs_mm.c
index b9a695d92792ee224868d3f9f9ce32e0475d48c8..1728a1b0b81376ed43e7f39fb5f863cba7563166 100644
(file)
--- a/
drivers/gpu/drm/bochs/bochs_mm.c
+++ b/
drivers/gpu/drm/bochs/bochs_mm.c
@@
-387,7
+387,7
@@
int bochs_gem_create(struct drm_device *dev, u32 size, bool iskernel,
*obj = NULL;
- size =
ALIGN(size, PAGE_SIZE
);
+ size =
PAGE_ALIGN(size
);
if (size == 0)
return -EINVAL;