From 78a5b46b5827d182b542d59b306f0f9106b88f84 Mon Sep 17 00:00:00 2001 From: Mark Kettenis Date: Mon, 22 Jun 2015 15:20:44 +0000 Subject: 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(-) (limited to 'sys') 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; -- cgit v1.2.3