From: oga Date: Mon, 1 Sep 2008 17:40:26 +0000 (+0000) Subject: convert a tsleep back to msleep that got lost in a previous upstream merge. X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=4b1f2dabfda6a6c5fe9998fb5e049154935a0cf1;p=openbsd convert a tsleep back to msleep that got lost in a previous upstream merge. Won't sleep with a spinlock here anymore. --- 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 }