diff options
author | Robert Noland <rnoland@2hip.net> | 2007-12-02 01:45:09 -0500 |
---|---|---|
committer | Robert Noland <rnoland@2hip.net> | 2007-12-02 01:45:09 -0500 |
commit | 690dd04d1b9a4da92139793d3f5129a80f9c7353 (patch) | |
tree | 95093f1da6b2645ba23690a23f765cbf9f363c10 /bsd-core/drm_lock.c | |
parent | fbc307274f7cb29f986daae3d8e367d53172e3ba (diff) |
bsd: Replace other occurrences of msleep with mtx_sleep
Diffstat (limited to 'bsd-core/drm_lock.c')
-rw-r--r-- | bsd-core/drm_lock.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bsd-core/drm_lock.c b/bsd-core/drm_lock.c index fb86fc68..9731ff92 100644 --- a/bsd-core/drm_lock.c +++ b/bsd-core/drm_lock.c @@ -140,7 +140,7 @@ int drm_lock(drm_device_t *dev, void *data, struct drm_file *file_priv) /* Contention */ #if defined(__FreeBSD__) && __FreeBSD_version > 500000 - ret = msleep((void *)&dev->lock.lock_queue, &dev->dev_lock, + ret = mtx_sleep((void *)&dev->lock.lock_queue, &dev->dev_lock, PZERO | PCATCH, "drmlk2", 0); #else ret = tsleep((void *)&dev->lock.lock_queue, PZERO | PCATCH, |