summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkettenis <kettenis@openbsd.org>2015-06-22 15:20:43 +0000
committerkettenis <kettenis@openbsd.org>2015-06-22 15:20:43 +0000
commit343eb25bcc3e4811d682a39942150e0d49fb8ba7 (patch)
tree0108138421a9e250431657ed93e66a8658e54b97
parenttheo buehler points out that posix specifies a prompt defined using -p (diff)
downloadwireguard-openbsd-343eb25bcc3e4811d682a39942150e0d49fb8ba7.tar.xz
wireguard-openbsd-343eb25bcc3e4811d682a39942150e0d49fb8ba7.zip
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;