kernel SPIN_LOCK_UNLOCKED changed to __SPIN_LOCK_UNLOCKED()
Subsystems (2)
Atul Sowani
Acked-by Uwe Kleine-KönigThere are still some files containing .lock = SPIN_LOCK_UNLOCKED type assignments which should be converted to __SPIN_LOCK_UNLOCKED(). --- Corrected spacing between __SPIN_LOCK_UNLOCKED and ( for ARM. --- Resubmitting the patch with spacing fixes.
--- Removed ARM related changes after Russell King's NACK.
Signed-off-by Atul Sowani <[email protected]>
Acked-by Uwe Kleine-König <[email protected]>
---
arch/mips/kernel/vpe.c +2 -2
@@ -148,9 +148,9 @@ struct {spinlock_t tc_list_lock;struct list_head tc_list;/* Thread contexts */ } vpecontrol = { - .vpe_list_lock = SPIN_LOCK_UNLOCKED, + .vpe_list_lock = __SPIN_LOCK_UNLOCKED(vpecontrol.vpe_list_lock), .vpe_list = LIST_HEAD_INIT(vpecontrol.vpe_list), - .tc_list_lock = SPIN_LOCK_UNLOCKED, + .tc_list_lock = __SPIN_LOCK_UNLOCKED(vpecontrol.tc_list_lock), .tc_list =LIST_HEAD_INIT (vpecontrol.tc_list) };
kernel/cred.c +1 -2
@@ -35,7 +35,7 @@ static struct kmem_cache *cred_jar;static struct thread_group_cred init_tgcred = { .usage =ATOMIC_INIT (2 ), .tgid =0 , - .lock =SPIN_LOCK_UNLOCKED , + .lock =__SPIN_LOCK_UNLOCKED (init_tgcred.lock), };#endif --
Atul Sowani ([email protected])
http://savannah.gnu.org/users/atul
------------------------------------------------------------------------