]> git.karo-electronics.de Git - mv-sheeva.git/commitdiff
ARM: v6k: allow swp emulation again when ARMv7 is enabled
authorRussell King <rmk+kernel@arm.linux.org.uk>
Mon, 17 Jan 2011 17:27:48 +0000 (17:27 +0000)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Wed, 2 Feb 2011 21:23:31 +0000 (21:23 +0000)
Now that we build a v6+v6k+v7 kernel with -march=armv6k for everything,
we don't need to disable swp emulation to work around the build problem
with OMAP.

Tested-by: Tony Lindgren <tony@atomide.com>
Tested-by: Sourav Poddar <sourav.poddar@ti.com>
Tested-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/mm/Kconfig

index ca1238baef719715019b472cf701697145ac3254..843bc8c74b87620058dad17d55ab5f29ca732d2f 100644 (file)
@@ -652,7 +652,7 @@ config ARM_THUMBEE
 
 config SWP_EMULATE
        bool "Emulate SWP/SWPB instructions"
-       depends on CPU_V7 && !CPU_V6
+       depends on CPU_V7
        select HAVE_PROC_CPU if PROC_FS
        default y if SMP
        help