]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blobdiff - arch/cris/arch-v32/kernel/smp.c
Merge branch 'for-2.6.39' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/percpu
[mirror_ubuntu-bionic-kernel.git] / arch / cris / arch-v32 / kernel / smp.c
index 84fed3b4b0799dd35991e57eaa22aca18767c6a3..4c9e3e1ba5d12ccb08424e6ad04ccda7341f576c 100644 (file)
@@ -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;