diff options
author | H. Peter Anvin <hpa@zytor.com> | 2008-08-18 17:50:33 -0700 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2008-09-05 16:14:01 -0700 |
commit | f31d731e4467e61de51d7f6d7115f3b712d9354c (patch) | |
tree | d64b75a4f80d6fc3138bf29446496f95f2f484aa /arch/x86/kernel/cpu/common.c | |
parent | b6734c35af028f06772c0b2c836c7d579e6d4dad (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/kernel/cpu/common.c')
0 files changed, 0 insertions, 0 deletions