summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@cvs.openbsd.org>2015-06-22 15:20:44 +0000
committerMark Kettenis <kettenis@cvs.openbsd.org>2015-06-22 15:20:44 +0000
commit78a5b46b5827d182b542d59b306f0f9106b88f84 (patch)
tree09c528e994c32592af9146bf69e0c53e7825d91d
parent2c2f8fb1201d7cfb2327bb2995a78a5af03df1f3 (diff)
Flush out another small diff to reduce the diffs with Linux.
-rw-r--r--sys/dev/pci/drm/i915/i915_gem.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/pci/drm/i915/i915_gem.c b/sys/dev/pci/drm/i915/i915_gem.c
index 013e2c67748..9e68b81fc33 100644
--- a/sys/dev/pci/drm/i915/i915_gem.c
+++ b/sys/dev/pci/drm/i915/i915_gem.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: i915_gem.c,v 1.94 2015/04/18 14:47:34 jsg Exp $ */
+/* $OpenBSD: i915_gem.c,v 1.95 2015/06/22 15:20:43 kettenis Exp $ */
/*
* Copyright (c) 2008-2009 Owain G. Ainsworth <oga@openbsd.org>
*
@@ -225,7 +225,7 @@ i915_gem_create(struct drm_file *file,
int ret;
u32 handle;
- size = round_page(size);
+ size = roundup(size, PAGE_SIZE);
if (size == 0)
return -EINVAL;