diff options
author | rnoland <rnoland@FreeBSD.org> | 2009-03-16 08:19:11 +0000 |
---|---|---|
committer | rnoland <rnoland@FreeBSD.org> | 2009-03-16 08:19:11 +0000 |
commit | 6822cdf60758a683d1cc6e1201ad95dc5172c220 (patch) | |
tree | 1240c8fda05fe17594f5e58e7e7259212928564d /sys/dev/drm/drm_lock.c | |
parent | b65366a14a6f21a5999990c149175c4b8d047318 (diff) | |
download | FreeBSD-src-6822cdf60758a683d1cc6e1201ad95dc5172c220.zip FreeBSD-src-6822cdf60758a683d1cc6e1201ad95dc5172c220.tar.gz |
Get rid of any remaining PZERO flags in mtx_sleep()
Also, clean up some ifdef mess while I'm here.
MFC after: 3 days
Diffstat (limited to 'sys/dev/drm/drm_lock.c')
-rw-r--r-- | sys/dev/drm/drm_lock.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/drm/drm_lock.c b/sys/dev/drm/drm_lock.c index bb8a834..06ed54e 100644 --- a/sys/dev/drm/drm_lock.c +++ b/sys/dev/drm/drm_lock.c @@ -82,7 +82,7 @@ int drm_lock(struct drm_device *dev, void *data, struct drm_file *file_priv) /* Contention */ ret = mtx_sleep((void *)&dev->lock.lock_queue, &dev->dev_lock, - PZERO | PCATCH, "drmlk2", 0); + PCATCH, "drmlk2", 0); if (ret != 0) break; } |