diff options
author | Owain Ainsworth <oga@cvs.openbsd.org> | 2008-09-01 17:40:27 +0000 |
---|---|---|
committer | Owain Ainsworth <oga@cvs.openbsd.org> | 2008-09-01 17:40:27 +0000 |
commit | 48292a0394a03d736e1630c4e7eadf056fbfee42 (patch) | |
tree | b1e747eab38b4b3d0dd0cfcd284c33c9eca9ca31 /sys/dev/pci/drm | |
parent | 90f7a5967c27bbefe645077268b315130ea6570b (diff) |
convert a tsleep back to msleep that got lost in a previous upstream merge.
Won't sleep with a spinlock here anymore.
Diffstat (limited to 'sys/dev/pci/drm')
-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 } |