summaryrefslogtreecommitdiff
path: root/shared-core
diff options
context:
space:
mode:
authorRobert Noland <rnoland@2hip.net>2007-12-02 01:45:09 -0500
committerRobert Noland <rnoland@2hip.net>2007-12-02 01:45:09 -0500
commit690dd04d1b9a4da92139793d3f5129a80f9c7353 (patch)
tree95093f1da6b2645ba23690a23f765cbf9f363c10 /shared-core
parentfbc307274f7cb29f986daae3d8e367d53172e3ba (diff)
bsd: Replace other occurrences of msleep with mtx_sleep
Diffstat (limited to 'shared-core')
-rw-r--r--shared-core/radeon_cp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/shared-core/radeon_cp.c b/shared-core/radeon_cp.c
index 8f95a077..fc1fe07a 100644
--- a/shared-core/radeon_cp.c
+++ b/shared-core/radeon_cp.c
@@ -1952,7 +1952,7 @@ void radeon_do_release(struct drm_device * dev)
schedule();
#else
#if defined(__FreeBSD__) && __FreeBSD_version > 500000
- msleep(&ret, &dev->dev_lock, PZERO, "rdnrel",
+ mtx_sleep(&ret, &dev->dev_lock, PZERO, "rdnrel",
1);
#else
tsleep(&ret, PZERO, "rdnrel", 1);