Commit a8ba29cd authored by Fabian Frederick's avatar Fabian Frederick Committed by David Herrmann

drm/bochs: replace ALIGN(PAGE_SIZE) by PAGE_ALIGN

use mm.h definition
Signed-off-by: default avatarFabian Frederick <fabf@skynet.be>
Signed-off-by: default avatarDavid Herrmann <dh.herrmann@gmail.com>
parent 2fc2dd78
......@@ -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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment