Add a forgotten mtsleep().

This commit is contained in:
bjs 2008-07-20 02:58:40 +00:00
parent e58a3edb13
commit e63e7d81db
1 changed files with 3 additions and 0 deletions

View File

@ -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