diff options
-rw-r--r-- | sys/dev/pci/drm/radeon_cp.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/pci/drm/radeon_cp.c b/sys/dev/pci/drm/radeon_cp.c index 5c9da607c7c..bb6fdb635e5 100644 --- a/sys/dev/pci/drm/radeon_cp.c +++ b/sys/dev/pci/drm/radeon_cp.c @@ -1390,7 +1390,8 @@ void radeon_do_release(struct drm_device * dev) mtx_sleep(&ret, &dev->dev_lock, PZERO, "rdnrel", 1); #else - tsleep(&ret, PZERO, "rdnrel", 1); + msleep(&ret, &dev->dev_lock, PZERO, + "rdnrel", 1); #endif #endif } |