projects
/
platform
/
kernel
/
linux-starfive.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
|
history
diff --git
a/drivers/gpu/drm/bochs/bochs_mm.c
b/drivers/gpu/drm/bochs/bochs_mm.c
index
b9a695d
..
1728a1b
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;