Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 0193c00e authored by Russell King's avatar Russell King
Browse files

ARM: make SWP emulation explicit on !CPU_USE_DOMAINS



SWP emulation requires that CPU domain support is disabled in order to
work safely.  Make that explicit in the kernel configuration to prevent
illegal configurations being generated.

Signed-off-by: default avatarRussell King <rmk+kernel@arm.linux.org.uk>
parent 15490ef8
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -644,7 +644,7 @@ config ARM_THUMBEE

config SWP_EMULATE
	bool "Emulate SWP/SWPB instructions"
	depends on CPU_V7 && !CPU_V6
	depends on !CPU_USE_DOMAINS && CPU_V7 && !CPU_V6
	select HAVE_PROC_CPU if PROC_FS
	default y if SMP
	help