From: David Woodhouse <David.Woodhouse@xxxxxxxxx> Currently depends only on CONFIG_MATOM. This will change because big-core CPUs are getting movbe too... Signed-off-by: David Woodhouse <David.Woodhouse@xxxxxxxxx> --- arch/x86/Kconfig.cpu | 4 ++++ arch/x86/Makefile | 1 + 2 files changed, 5 insertions(+) diff --git a/arch/x86/Kconfig.cpu b/arch/x86/Kconfig.cpu index f3b86d0..969f7a6 100644 --- a/arch/x86/Kconfig.cpu +++ b/arch/x86/Kconfig.cpu @@ -353,6 +353,10 @@ config X86_BSWAP def_bool y depends on X86_32 && !M386 +config X86_MOVBE + def_bool y + depends on MATOM + config X86_POPAD_OK def_bool y depends on X86_32 && !M386 diff --git a/arch/x86/Makefile b/arch/x86/Makefile index 05afcca..0e71d76 100644 --- a/arch/x86/Makefile +++ b/arch/x86/Makefile @@ -64,6 +64,7 @@ else $(call cc-option,-march=core2,$(call cc-option,-mtune=generic)) cflags-$(CONFIG_MATOM) += $(call cc-option,-march=atom) \ $(call cc-option,-mtune=atom,$(call cc-option,-mtune=generic)) + cflags-$(CONFIG_X86_MOVBE) += $(call cc-option,-mmovbe) cflags-$(CONFIG_GENERIC_CPU) += $(call cc-option,-mtune=generic) KBUILD_CFLAGS += $(cflags-y) -- 1.8.0 -- To unsubscribe from this list: send the line "unsubscribe linux-arch" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html