From 48292a0394a03d736e1630c4e7eadf056fbfee42 Mon Sep 17 00:00:00 2001 From: Owain Ainsworth Date: Mon, 1 Sep 2008 17:40:27 +0000 Subject: 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(-) (limited to 'sys/dev/pci/drm') 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 } -- cgit v1.2.3