projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
996bad6
)
ARC: R-M-W assist locks only needed for !LLSC
author
Vineet Gupta
<vgupta@synopsys.com>
Fri, 7 Nov 2014 13:21:22 +0000
(18:51 +0530)
committer
Vineet Gupta
<vgupta@synopsys.com>
Fri, 12 Dec 2014 10:32:34 +0000
(16:02 +0530)
Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
arch/arc/kernel/smp.c
patch
|
blob
|
history
diff --git
a/arch/arc/kernel/smp.c
b/arch/arc/kernel/smp.c
index d01df0c517a2044ddc15f5fdb895303aa3de56bb..20ebb602ea2f3a4f9721fff8f4458fcf4c0e3ec5 100644
(file)
--- a/
arch/arc/kernel/smp.c
+++ b/
arch/arc/kernel/smp.c
@@
-26,8
+26,10
@@
#include <asm/setup.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_bitops_lock = __ARCH_SPIN_LOCK_UNLOCKED;
+#endif
struct plat_smp_ops plat_smp_ops;