projects
/
platform
/
upstream
/
kernel-adaptation-pc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
14ac12d
)
xtensa: use newer __SPIN_LOCK_UNLOCKED macro
author
Robert P. J. Day
<rpjday@crashcourse.ca>
Wed, 30 Jul 2008 19:48:55 +0000
(12:48 -0700)
committer
Chris Zankel
<chris@zankel.net>
Wed, 15 Oct 2008 01:59:50 +0000
(18:59 -0700)
SPIN_LOCK_UNLOCKED() breaks lockdep and is deprecated.
Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Chris Zankel <chris@zankel.net>
arch/xtensa/platforms/iss/network.c
patch
|
blob
|
history
diff --git
a/arch/xtensa/platforms/iss/network.c
b/arch/xtensa/platforms/iss/network.c
index
a2e2522
..
11a20ad
100644
(file)
--- a/
arch/xtensa/platforms/iss/network.c
+++ b/
arch/xtensa/platforms/iss/network.c
@@
-640,7
+640,7
@@
static int iss_net_configure(int index, char *init)
*lp = ((struct iss_net_private) {
.device_list = LIST_HEAD_INIT(lp->device_list),
.opened_list = LIST_HEAD_INIT(lp->opened_list),
- .lock =
SPIN_LOCK_UNLOCKED
,
+ .lock =
__SPIN_LOCK_UNLOCKED(lp.lock)
,
.dev = dev,
.index = index,
//.fd = -1,