summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorStephen Rothwell <sfr@canb.auug.org.au>2011-03-07 11:01:12 +1100
committerStephen Rothwell <sfr@canb.auug.org.au>2011-03-07 11:01:12 +1100
commitb394f11a76ae0338f4b62dec9d94dc81d560a2bb (patch)
tree864a3145fcaf6dcbb2d3dbf34cf6c5d121d7994f /arch
parentccd3c4d791b2dcb9511bf764a7a9a9e9836952c5 (diff)
parent60cc10ed86d8aedf464e1a7b95c65b0c3425a9ed (diff)
Merge remote-tracking branch 'cris/for-next'
Diffstat (limited to 'arch')
-rw-r--r--arch/cris/arch-v32/kernel/smp.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/cris/arch-v32/kernel/smp.c b/arch/cris/arch-v32/kernel/smp.c
index 84fed3b4b079..4c9e3e1ba5d1 100644
--- a/arch/cris/arch-v32/kernel/smp.c
+++ b/arch/cris/arch-v32/kernel/smp.c
@@ -26,7 +26,9 @@
#define FLUSH_ALL (void*)0xffffffff
/* Vector of locks used for various atomic operations */
-spinlock_t cris_atomic_locks[] = { [0 ... LOCK_COUNT - 1] = SPIN_LOCK_UNLOCKED};
+spinlock_t cris_atomic_locks[] = {
+ [0 ... LOCK_COUNT - 1] = __SPIN_LOCK_UNLOCKED(cris_atomic_locks)
+};
/* CPU masks */
cpumask_t phys_cpu_present_map = CPU_MASK_NONE;