mirror of
https://gitlab.freedesktop.org/mesa/drm.git
synced 2025-12-24 12:30:11 +01:00
Initialize rwlock using rwlock_init to appease lockdep validator.
This commit is contained in:
parent
6238ebee21
commit
2d1de1fc6b
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue