Skip to content

Commit

Permalink
ARM: make SWP emulation explicit on !CPU_USE_DOMAINS
Browse files Browse the repository at this point in the history
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: Russell King <rmk+kernel@arm.linux.org.uk>
  • Loading branch information
Russell King committed Feb 10, 2011
1 parent 15490ef commit 0193c00
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/arm/mm/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 0193c00

Please sign in to comment.