x86: Require MOVBE feature in cpuid when we use it
authorDavid Woodhouse <dwmw2@infradead.org>
Mon, 28 Jan 2013 17:49:50 +0000 (17:49 +0000)
committerH. Peter Anvin <hpa@linux.intel.com>
Tue, 29 Jan 2013 00:59:55 +0000 (16:59 -0800)
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: David 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: H. Peter Anvin <hpa@linux.intel.com>

No differences found