mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-09-18 18:15:59 +00:00
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>
This commit is contained in:
parent
7e00df5818
commit
f1c5d30e1d
1 changed files with 13 additions and 23 deletions
Loading…
Add table
Add a link
Reference in a new issue