Skip to content
Commit f31d731e 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 b6734c35
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