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 /kernel/acct.c | |
parent | a4c410f00f7ca4bd448b0d63f6f882fd244dc991 (diff) | |
download | kernel_samsung_smdk4412-6cfd76a26d9fe2ba54b9d496a48c1d9285e5c5ed.tar.gz kernel_samsung_smdk4412-6cfd76a26d9fe2ba54b9d496a48c1d9285e5c5ed.tar.bz2 kernel_samsung_smdk4412-6cfd76a26d9fe2ba54b9d496a48c1d9285e5c5ed.zip |
[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 'kernel/acct.c')
-rw-r--r-- | kernel/acct.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/kernel/acct.c b/kernel/acct.c index 0aad5ca36a8..dc12db8600e 100644 --- a/kernel/acct.c +++ b/kernel/acct.c @@ -89,7 +89,8 @@ struct acct_glbs { struct timer_list timer; }; -static struct acct_glbs acct_globals __cacheline_aligned = {SPIN_LOCK_UNLOCKED}; +static struct acct_glbs acct_globals __cacheline_aligned = + {__SPIN_LOCK_UNLOCKED(acct_globals.lock)}; /* * Called whenever the timer says to check the free space. |