Skip to content
Commit 2b9b6d8c authored by David Woodhouse's avatar David Woodhouse Committed by H. Peter Anvin
Browse files

x86: Require MOVBE feature in cpuid when we use it



Add MOVBE to asm/required-features.h so we check for it during startup
and don't bother checking for it later.

CONFIG_MATOM is used because it corresponds to -march=atom in the
Makefiles.  If the rules get more complicated it may be necessary to
make this an explicit Kconfig option which uses -mmovbe/-mno-movbe to
control the use of this instruction explicitly.

Signed-off-by: default avatarDavid Woodhouse <David.Woodhouse@intel.com>
Link: http://lkml.kernel.org/r/1359395390.3529.65.camel@shinybook.infradead.org


[ hpa: added a patch description ]
Signed-off-by: default avatarH. Peter Anvin <hpa@linux.intel.com>
parent 83a57a4d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment