OSDN Git Service
(root)
/
android-x86
/
external-libdrm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a8a8108
)
Initialize rwlock using rwlock_init to appease lockdep validator.
author
Kristian Høgsberg
<krh@redhat.com>
Fri, 20 Apr 2007 22:06:31 +0000
(18:06 -0400)
committer
Kristian Høgsberg
<krh@redhat.com>
Fri, 20 Apr 2007 22:06:31 +0000
(18:06 -0400)
linux-core/drm_fence.c
patch
|
blob
|
history
diff --git
a/linux-core/drm_fence.c
b/linux-core/drm_fence.c
index
441e763
..
088c50d
100644
(file)
--- a/
linux-core/drm_fence.c
+++ b/
linux-core/drm_fence.c
@@
-499,7
+499,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)