Skip to content
Commit f1c5d30e authored by H. Peter Anvin's avatar H. Peter Anvin
Browse files

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: default avatarH. Peter Anvin <hpa@zytor.com>
parent 7e00df58
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment