From 343eb25bcc3e4811d682a39942150e0d49fb8ba7 Mon Sep 17 00:00:00 2001 From: kettenis Date: Mon, 22 Jun 2015 15:20:43 +0000 Subject: [PATCH] Flush out another small diff to reduce the diffs with Linux. --- sys/dev/pci/drm/i915/i915_gem.c | 4 ++-- 1 file 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 * @@ -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; -- 2.20.1