diff options
author | Fabian Frederick <fabf@skynet.be> | 2014-07-01 21:02:03 +0200 |
---|---|---|
committer | David Herrmann <dh.herrmann@gmail.com> | 2014-07-08 00:34:19 +0200 |
commit | a8ba29cd337cce06899e1ad51c69b4beea7628a0 (patch) | |
tree | 3e88724426c9cfe223fe82ed4ae69126bbdaa40b | |
parent | 2fc2dd781bec793fbc293ecc9345b233783a6382 (diff) | |
download | op-kernel-dev-a8ba29cd337cce06899e1ad51c69b4beea7628a0.zip op-kernel-dev-a8ba29cd337cce06899e1ad51c69b4beea7628a0.tar.gz |
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>
-rw-r--r-- | drivers/gpu/drm/bochs/bochs_mm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/bochs/bochs_mm.c b/drivers/gpu/drm/bochs/bochs_mm.c index b9a695d..1728a1b 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; |