Add a forgotten mtsleep().
This commit is contained in:
parent
e58a3edb13
commit
e63e7d81db
|
@ -1389,6 +1389,9 @@ void radeon_do_release(struct drm_device * dev)
|
|||
#if defined(__FreeBSD__) && __FreeBSD_version > 500000
|
||||
mtx_sleep(&ret, &dev->dev_lock, PZERO, "rdnrel",
|
||||
1);
|
||||
#elif defined(__NetBSD__)
|
||||
mtsleep(&ret, PZERO, "rdnrel", 1,
|
||||
&dev->dev_lock);
|
||||
#else
|
||||
tsleep(&ret, PZERO, "rdnrel", 1);
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue