diff options
author | Kristian Høgsberg <krh@redhat.com> | 2007-04-20 18:06:31 -0400 |
---|---|---|
committer | Kristian Høgsberg <krh@redhat.com> | 2007-04-20 18:12:18 -0400 |
commit | 2d1de1fc6b9ab3524a1247f56ddeea7238c04ea3 (patch) | |
tree | b7cfefe5f62f79af6009b25d22d4d3c37845f838 | |
parent | 6238ebee21f800cec6c77b6bf90d7916ca945931 (diff) |
Initialize rwlock using rwlock_init to appease lockdep validator.
-rw-r--r-- | linux-core/drm_fence.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/linux-core/drm_fence.c b/linux-core/drm_fence.c index be075bb3..6be6f218 100644 --- a/linux-core/drm_fence.c +++ b/linux-core/drm_fence.c @@ -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) |