summaryrefslogtreecommitdiff
path: root/sys/dev/pci
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/pci')
-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 2cd838fdd05..5f223b734a4 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.34 2013/09/10 03:40:39 jsg Exp $ */
+/* $OpenBSD: i915_gem.c,v 1.35 2013/09/13 13:00:00 kettenis Exp $ */
/*
* Copyright (c) 2008-2009 Owain G. Ainsworth <oga@openbsd.org>
*
@@ -1047,7 +1047,7 @@ static int __wait_seqno(struct intel_ring_buffer *ring, u32 seqno,
if (i915_seqno_passed(ring->get_seqno(ring, false),
seqno) || dev_priv->mm.wedged)
break;
- ret = msleep(ring, &dev_priv->irq_lock,
+ ret = -msleep(ring, &dev_priv->irq_lock,
PZERO | (interruptible ? PCATCH : 0),
"gemwt", 0);
}