diff options
author | Robert P. J. Day <rpjday@crashcourse.ca> | 2008-07-30 15:48:55 -0400 |
---|---|---|
committer | Chris Zankel <chris@zankel.net> | 2008-10-14 21:59:50 -0400 |
commit | ef9c2f04dbeef3bf8ffcb43aeb5d8738f4141718 (patch) | |
tree | b111a7984f6c57d11912a601f7776102ba0998e4 /arch/xtensa/platforms/iss/network.c | |
parent | 14ac12de07112e727c161644798415368dc4b343 (diff) |
xtensa: use newer __SPIN_LOCK_UNLOCKED macro
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>
Diffstat (limited to 'arch/xtensa/platforms/iss/network.c')
-rw-r--r-- | arch/xtensa/platforms/iss/network.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/xtensa/platforms/iss/network.c b/arch/xtensa/platforms/iss/network.c index a2e25221742..11a20adc140 100644 --- 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) | |||
640 | *lp = ((struct iss_net_private) { | 640 | *lp = ((struct iss_net_private) { |
641 | .device_list = LIST_HEAD_INIT(lp->device_list), | 641 | .device_list = LIST_HEAD_INIT(lp->device_list), |
642 | .opened_list = LIST_HEAD_INIT(lp->opened_list), | 642 | .opened_list = LIST_HEAD_INIT(lp->opened_list), |
643 | .lock = SPIN_LOCK_UNLOCKED, | 643 | .lock = __SPIN_LOCK_UNLOCKED(lp.lock), |
644 | .dev = dev, | 644 | .dev = dev, |
645 | .index = index, | 645 | .index = index, |
646 | //.fd = -1, | 646 | //.fd = -1, |