diff options
| author | Vineet Gupta <vgupta@synopsys.com> | 2014-11-07 08:21:22 -0500 |
|---|---|---|
| committer | Vineet Gupta <vgupta@synopsys.com> | 2014-12-12 05:32:34 -0500 |
| commit | 9fb92eb1160d7e967f233cdfe2b718acff325b6e (patch) | |
| tree | 4ab30c8b994c310e14e0abe3e17768fb3f97db21 | |
| parent | 996bad6cb3510d726d435c6802294ac289418608 (diff) | |
ARC: R-M-W assist locks only needed for !LLSC
Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
| -rw-r--r-- | arch/arc/kernel/smp.c | 2 |
1 files changed, 2 insertions, 0 deletions
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 @@ | |||
| 26 | #include <asm/setup.h> | 26 | #include <asm/setup.h> |
| 27 | #include <asm/mach_desc.h> | 27 | #include <asm/mach_desc.h> |
| 28 | 28 | ||
| 29 | #ifndef CONFIG_ARC_HAS_LLSC | ||
| 29 | arch_spinlock_t smp_atomic_ops_lock = __ARCH_SPIN_LOCK_UNLOCKED; | 30 | arch_spinlock_t smp_atomic_ops_lock = __ARCH_SPIN_LOCK_UNLOCKED; |
| 30 | arch_spinlock_t smp_bitops_lock = __ARCH_SPIN_LOCK_UNLOCKED; | 31 | arch_spinlock_t smp_bitops_lock = __ARCH_SPIN_LOCK_UNLOCKED; |
| 32 | #endif | ||
| 31 | 33 | ||
| 32 | struct plat_smp_ops plat_smp_ops; | 34 | struct plat_smp_ops plat_smp_ops; |
| 33 | 35 | ||
