drm/bochs: replace ALIGN(PAGE_SIZE) by PAGE_ALIGN

use mm.h definition

Signed-off-by: Fabian Frederick <fabf@skynet.be>
Signed-off-by: David Herrmann <dh.herrmann@gmail.com>
This commit is contained in:
Fabian Frederick 2014-07-01 21:02:03 +02:00 committed by David Herrmann
parent 2fc2dd781b
commit a8ba29cd33

View file

@ -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;