Эх сурвалжийг харах

ARC: Kconfig: better way to disable ARC_HAS_LLSC for ARC_CPU_750D

Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
Vineet Gupta 10 жил өмнө
parent
commit
14a0abfc4a

+ 2 - 1
arch/arc/Kconfig

@@ -115,6 +115,7 @@ if ISA_ARCOMPACT
 
 
 config ARC_CPU_750D
 config ARC_CPU_750D
 	bool "ARC750D"
 	bool "ARC750D"
+	select ARC_CANT_LLSC
 	help
 	help
 	  Support for ARC750 core
 	  Support for ARC750 core
 
 
@@ -362,7 +363,7 @@ config ARC_CANT_LLSC
 config ARC_HAS_LLSC
 config ARC_HAS_LLSC
 	bool "Insn: LLOCK/SCOND (efficient atomic ops)"
 	bool "Insn: LLOCK/SCOND (efficient atomic ops)"
 	default y
 	default y
-	depends on !ARC_CPU_750D && !ARC_CANT_LLSC
+	depends on !ARC_CANT_LLSC
 
 
 config ARC_HAS_SWAPE
 config ARC_HAS_SWAPE
 	bool "Insn: SWAPE (endian-swap)"
 	bool "Insn: SWAPE (endian-swap)"