From: Vineet Gupta Date: Fri, 7 Nov 2014 13:21:22 +0000 (+0530) Subject: ARC: R-M-W assist locks only needed for !LLSC X-Git-Tag: omap-for-v3.19/fixes-rc1~41^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9fb92eb1160d7e967f233cdfe2b718acff325b6e;p=pandora-kernel.git ARC: R-M-W assist locks only needed for !LLSC Signed-off-by: Vineet Gupta --- 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;