From: Kevin Winchester Date: Mon, 10 Aug 2009 22:56:45 +0000 (-0300) Subject: x86: Clear incorrectly forced X86_FEATURE_LAHF_LM flag X-Git-Tag: v2.6.31-rc6~4^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fbd8b1819e80ac5a176d085fdddc3a34d1499318;p=pandora-kernel.git x86: Clear incorrectly forced X86_FEATURE_LAHF_LM flag Due to an erratum with certain AMD Athlon 64 processors, the BIOS may need to force enable the LAHF_LM capability. Unfortunately, in at least one case, the BIOS does this even for processors that do not support the functionality. Add a specific check that will clear the feature bit for processors known not to support the LAHF/SAHF instructions. Signed-off-by: Kevin Winchester Acked-by: Borislav Petkov LKML-Reference: <4A80A5AD.2000209@gmail.com> Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed