Initialize rwlock using rwlock_init to appease lockdep validator.

main
Kristian Høgsberg 2007-04-20 18:06:31 -04:00
parent 6238ebee21
commit 2d1de1fc6b
1 changed files with 1 additions and 1 deletions

View File

@ -495,7 +495,7 @@ void drm_fence_manager_init(drm_device_t * dev)
int i;
fm->lock = RW_LOCK_UNLOCKED;
rwlock_init(&fm->lock);
write_lock(&fm->lock);
fm->initialized = 0;
if (!fed)