From d6c97868361da48d13a5fe7fe106d67a64969ab1 Mon Sep 17 00:00:00 2001 From: Robert Noland Date: Mon, 23 Feb 2009 20:16:15 -0600 Subject: FreeBSD: Don't set PZERO in mtx_sleep. --- bsd-core/drmP.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bsd-core') diff --git a/bsd-core/drmP.h b/bsd-core/drmP.h index c7e40230..f6739cb0 100644 --- a/bsd-core/drmP.h +++ b/bsd-core/drmP.h @@ -299,8 +299,8 @@ for ( ret = 0 ; !ret && !(condition) ; ) { \ DRM_UNLOCK(); \ mtx_lock(&dev->irq_lock); \ if (!(condition)) \ - ret = -mtx_sleep(&(queue), &dev->irq_lock, \ - PZERO | PCATCH, "drmwtq", (timeout)); \ + ret = -mtx_sleep(&(queue), &dev->irq_lock, \ + PCATCH, "drmwtq", (timeout)); \ mtx_unlock(&dev->irq_lock); \ DRM_LOCK(); \ } -- cgit v1.2.3