aboutsummaryrefslogtreecommitdiff
path: root/arch/x86/lib/msr-on-cpu.c
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2008-08-18 17:50:33 -0700
committerH. Peter Anvin <hpa@zytor.com>2008-08-18 18:22:18 -0700
commitf1c5d30e1d79bbfb60eaf189db862d3cb2bcac92 (patch)
tree457aeabcfff8885fbcc66384758e5c31369ca414 /arch/x86/lib/msr-on-cpu.c
parent7e00df5818964298c9821365a6cb7a8304227c5c (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>
Diffstat (limited to 'arch/x86/lib/msr-on-cpu.c')
0 files changed, 0 insertions, 0 deletions