From 4b1f2dabfda6a6c5fe9998fb5e049154935a0cf1 Mon Sep 17 00:00:00 2001 From: oga Date: Mon, 1 Sep 2008 17:40:26 +0000 Subject: [PATCH] convert a tsleep back to msleep that got lost in a previous upstream merge. Won't sleep with a spinlock here anymore. --- sys/dev/pci/drm/radeon_cp.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 } -- 2.20.1