X-Git-Url: http://git.cascardo.info/?p=cascardo%2Flinux.git;a=blobdiff_plain;f=arch%2Farc%2Fkernel%2Fsmp.c;h=20ebb602ea2f3a4f9721fff8f4458fcf4c0e3ec5;hp=d01df0c517a2044ddc15f5fdb895303aa3de56bb;hb=64bb1b944b554a751b518b09c3d596f6b6c0ce31;hpb=9e66645d72d3c395da92b0f8855c787f4b5f0e89 diff --git a/arch/arc/kernel/smp.c b/arch/arc/kernel/smp.c index d01df0c517a2..20ebb602ea2f 100644 --- a/arch/arc/kernel/smp.c +++ b/arch/arc/kernel/smp.c @@ -26,8 +26,10 @@ #include #include +#ifndef CONFIG_ARC_HAS_LLSC arch_spinlock_t smp_atomic_ops_lock = __ARCH_SPIN_LOCK_UNLOCKED; arch_spinlock_t smp_bitops_lock = __ARCH_SPIN_LOCK_UNLOCKED; +#endif struct plat_smp_ops plat_smp_ops;