From: Fabian Frederick Date: Tue, 1 Jul 2014 19:02:03 +0000 (+0200) Subject: drm/bochs: replace ALIGN(PAGE_SIZE) by PAGE_ALIGN X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=a8ba29cd337cce06899e1ad51c69b4beea7628a0;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git drm/bochs: replace ALIGN(PAGE_SIZE) by PAGE_ALIGN use mm.h definition Signed-off-by: Fabian Frederick Signed-off-by: David Herrmann --- diff --git a/drivers/gpu/drm/bochs/bochs_mm.c b/drivers/gpu/drm/bochs/bochs_mm.c index b9a695d92792..1728a1b0b813 100644 --- 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;