projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c31655f
)
misdn: Fix lockdep warning
author
Karsten Keil
<kkeil@suse.de>
Sat, 13 Dec 2008 05:21:57 +0000
(21:21 -0800)
committer
David S. Miller
<davem@davemloft.net>
Sat, 13 Dec 2008 05:21:57 +0000
(21:21 -0800)
use correct dynamic spinlock init function.
Signed-off-by: Karsten Keil <kkeil@suse.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/isdn/mISDN/tei.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/isdn/mISDN/tei.c
b/drivers/isdn/mISDN/tei.c
index 1a824e75f8fd9ffc2e52561c998be0ca1f490d03..5c43d19e7c11676716e32be9357452a5f4db8a8c 100644
(file)
--- a/
drivers/isdn/mISDN/tei.c
+++ b/
drivers/isdn/mISDN/tei.c
@@
-1287,7
+1287,7
@@
create_teimanager(struct mISDNdevice *dev)
if (!mgr)
return -ENOMEM;
INIT_LIST_HEAD(&mgr->layer2);
-
mgr->lock = __RW_LOCK_UNLOCKED(
mgr->lock);
+
rwlock_init(&
mgr->lock);
skb_queue_head_init(&mgr->sendq);
mgr->nextid = 1;
mgr->lastid = MISDN_ID_NONE;