commit | f1c5d30e1d79bbfb60eaf189db862d3cb2bcac92 | [log] [tgz] |
---|---|---|
author | H. Peter Anvin <hpa@zytor.com> | Mon Aug 18 17:50:33 2008 -0700 |
committer | H. Peter Anvin <hpa@zytor.com> | Mon Aug 18 18:22:18 2008 -0700 |
tree | 457aeabcfff8885fbcc66384758e5c31369ca414 | |
parent | 7e00df5818964298c9821365a6cb7a8304227c5c [diff] |
x86: use X86_FEATURE_NOPL in alternatives Use X86_FEATURE_NOPL to determine if it is safe to use P6 NOPs in alternatives. Also, replace table and loop with simple if statement. Signed-off-by: H. Peter Anvin <hpa@zytor.com>