Commit 9fb92eb1 authored by Vineet Gupta's avatar Vineet Gupta

ARC: R-M-W assist locks only needed for !LLSC

Signed-off-by: default avatarVineet Gupta <vgupta@synopsys.com>
parent 996bad6c
...@@ -26,8 +26,10 @@ ...@@ -26,8 +26,10 @@
#include <asm/setup.h> #include <asm/setup.h>
#include <asm/mach_desc.h> #include <asm/mach_desc.h>
#ifndef CONFIG_ARC_HAS_LLSC
arch_spinlock_t smp_atomic_ops_lock = __ARCH_SPIN_LOCK_UNLOCKED; arch_spinlock_t smp_atomic_ops_lock = __ARCH_SPIN_LOCK_UNLOCKED;
arch_spinlock_t smp_bitops_lock = __ARCH_SPIN_LOCK_UNLOCKED; arch_spinlock_t smp_bitops_lock = __ARCH_SPIN_LOCK_UNLOCKED;
#endif
struct plat_smp_ops plat_smp_ops; struct plat_smp_ops plat_smp_ops;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment