OSDN Git Service
(root)
/
android-x86
/
kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
15490ef
)
ARM: make SWP emulation explicit on !CPU_USE_DOMAINS
author
Russell King
<rmk+kernel@arm.linux.org.uk>
Thu, 10 Feb 2011 13:05:13 +0000
(13:05 +0000)
committer
Russell King
<rmk+kernel@arm.linux.org.uk>
Thu, 10 Feb 2011 13:05:13 +0000
(13:05 +0000)
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>
arch/arm/mm/Kconfig
patch
|
blob
|
history
diff --git
a/arch/arm/mm/Kconfig
b/arch/arm/mm/Kconfig
index
c9d2d56
..
e4509ba
100644
(file)
--- a/
arch/arm/mm/Kconfig
+++ b/
arch/arm/mm/Kconfig
@@
-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