diff options
author | 2013-09-13 13:00:00 +0000 | |
---|---|---|
committer | 2013-09-13 13:00:00 +0000 | |
commit | a7664199a966c047fbd6ddd00091bae2aa8fd18d (patch) | |
tree | 3b464f01c30fb3088cbdfb30079e905a4a4bdfde | |
parent | Removed obsolete reference to GCC 2.95 archs. ok miod & jmc. (diff) | |
download | wireguard-openbsd-a7664199a966c047fbd6ddd00091bae2aa8fd18d.tar.xz wireguard-openbsd-a7664199a966c047fbd6ddd00091bae2aa8fd18d.zip |
Fix sign of returned error code.
ok jsg@
-rw-r--r-- | sys/dev/pci/drm/i915/i915_gem.c | 4 |
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); } |