diff options
author | Kevin Winchester <[email protected]> | 2009-08-10 19:56:45 -0300 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2009-08-11 13:34:54 +0200 |
commit | fbd8b1819e80ac5a176d085fdddc3a34d1499318 (patch) | |
tree | 7b2d450a6f64808ccf5bc6f8049a877c8db86ff0 /scripts/basic/docproc.c | |
parent | 0d01f31439c1e4d602bf9fdc924ab66f407f5e38 (diff) |
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 <[email protected]>
Acked-by: Borislav Petkov <[email protected]>
LKML-Reference: <[email protected]>
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'scripts/basic/docproc.c')
0 files changed, 0 insertions, 0 deletions