artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4a03594
)
convert a tsleep back to msleep that got lost in a previous upstream merge.
author
oga
<oga@openbsd.org>
Mon, 1 Sep 2008 17:40:26 +0000
(17:40 +0000)
committer
oga
<oga@openbsd.org>
Mon, 1 Sep 2008 17:40:26 +0000
(17:40 +0000)
Won't sleep with a spinlock here anymore.
sys/dev/pci/drm/radeon_cp.c
patch
|
blob
|
history
diff --git
a/sys/dev/pci/drm/radeon_cp.c
b/sys/dev/pci/drm/radeon_cp.c
index
5c9da60
..
bb6fdb6
100644
(file)
--- 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
}