X-Git-Url: http://git.rot13.org/?a=blobdiff_plain;f=kernel%2Facct.c;h=dc12db8600e7818e96dfb072cd5bdc549ec0eef3;hb=4522d58275f124105819723e24e912c8e5bf3cdd;hp=0aad5ca36a8125e205e85978aa32e8712ddc957a;hpb=5a3e3b2230980cf2ce6e5e56b816dde19b993939;p=powerpc.git diff --git a/kernel/acct.c b/kernel/acct.c index 0aad5ca36a..dc12db8600 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.