diff options
author | Peter Zijlstra <a.p.zijlstra@chello.nl> | 2006-12-06 20:37:22 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.osdl.org> | 2006-12-07 08:39:36 -0800 |
commit | 6cfd76a26d9fe2ba54b9d496a48c1d9285e5c5ed (patch) | |
tree | 1114a0630c5045d0650c6d78a8097fdea6f94d8e /include/asm-i386 | |
parent | a4c410f00f7ca4bd448b0d63f6f882fd244dc991 (diff) | |
download | op-kernel-dev-6cfd76a26d9fe2ba54b9d496a48c1d9285e5c5ed.zip op-kernel-dev-6cfd76a26d9fe2ba54b9d496a48c1d9285e5c5ed.tar.gz |
[PATCH] lockdep: name some old style locks
Name some of the remaning 'old_style_spin_init' locks
Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Acked-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include/asm-i386')
-rw-r--r-- | include/asm-i386/rwsem.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/asm-i386/rwsem.h b/include/asm-i386/rwsem.h index bc598d6..041906f 100644 --- a/include/asm-i386/rwsem.h +++ b/include/asm-i386/rwsem.h @@ -75,8 +75,8 @@ struct rw_semaphore { #define __RWSEM_INITIALIZER(name) \ -{ RWSEM_UNLOCKED_VALUE, SPIN_LOCK_UNLOCKED, LIST_HEAD_INIT((name).wait_list) \ - __RWSEM_DEP_MAP_INIT(name) } +{ RWSEM_UNLOCKED_VALUE, __SPIN_LOCK_UNLOCKED((name).wait_lock), \ + LIST_HEAD_INIT((name).wait_list) __RWSEM_DEP_MAP_INIT(name) } #define DECLARE_RWSEM(name) \ struct rw_semaphore name = __RWSEM_INITIALIZER(name) |