summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@cvs.openbsd.org>2014-01-21 08:29:33 +0000
committerMark Kettenis <kettenis@cvs.openbsd.org>2014-01-21 08:29:33 +0000
commit81eae6c33e276c5c75e1c40a53d474a3fff08f0b (patch)
treeb82c7f1050e9027715da1f5a557fa6447566a6ee /sys
parent74f0ddcd138ed3268b989f782721eb632cfc7c38 (diff)
oops, missed one
Diffstat (limited to 'sys')
-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 3254c318efe..dc24f6bac43 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.64 2014/01/21 08:25:33 kettenis Exp $ */
+/* $OpenBSD: i915_gem.c,v 1.65 2014/01/21 08:29:32 kettenis Exp $ */
/*
* Copyright (c) 2008-2009 Owain G. Ainsworth <oga@openbsd.org>
*
@@ -2033,7 +2033,7 @@ i915_gem_object_get_pages_gtt(struct drm_i915_gem_object *obj)
return 0;
-#if 0
+#ifdef __linux__
err_pages:
for_each_sg(st->sgl, sg, i, page_count)
page_cache_release(sg_page(sg));