diff options
author | Peter Zijlstra <a.p.zijlstra@chello.nl> | 2006-12-06 23:37:22 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.osdl.org> | 2006-12-07 11:39:36 -0500 |
commit | 6cfd76a26d9fe2ba54b9d496a48c1d9285e5c5ed (patch) | |
tree | 1114a0630c5045d0650c6d78a8097fdea6f94d8e /security/keys/process_keys.c | |
parent | a4c410f00f7ca4bd448b0d63f6f882fd244dc991 (diff) |
[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 'security/keys/process_keys.c')
-rw-r--r-- | security/keys/process_keys.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/security/keys/process_keys.c b/security/keys/process_keys.c index 32150cf7c37f..b6f86808475a 100644 --- a/security/keys/process_keys.c +++ b/security/keys/process_keys.c | |||
@@ -27,7 +27,7 @@ static DEFINE_MUTEX(key_session_mutex); | |||
27 | struct key_user root_key_user = { | 27 | struct key_user root_key_user = { |
28 | .usage = ATOMIC_INIT(3), | 28 | .usage = ATOMIC_INIT(3), |
29 | .consq = LIST_HEAD_INIT(root_key_user.consq), | 29 | .consq = LIST_HEAD_INIT(root_key_user.consq), |
30 | .lock = SPIN_LOCK_UNLOCKED, | 30 | .lock = __SPIN_LOCK_UNLOCKED(root_key_user.lock), |
31 | .nkeys = ATOMIC_INIT(2), | 31 | .nkeys = ATOMIC_INIT(2), |
32 | .nikeys = ATOMIC_INIT(2), | 32 | .nikeys = ATOMIC_INIT(2), |
33 | .uid = 0, | 33 | .uid = 0, |