diff options
author | Juergen Gross <jgross@suse.com> | 2022-11-04 08:27:01 +0100 |
---|---|---|
committer | Borislav Petkov <bp@suse.de> | 2022-11-22 16:18:19 +0100 |
commit | 6007878a782eb96f50a71c3a06cf3e931cf8aac1 (patch) | |
tree | 30673922344dfeecd3b80067a98e19690b92b678 /kernel/bpf/arraymap.c | |
parent | d76c4f7a610ac56c5b06e34258859945e77d190c (diff) |
x86/cpu: Switch to cpu_feature_enabled() for X86_FEATURE_XENPV
Convert the remaining cases of static_cpu_has(X86_FEATURE_XENPV) and
boot_cpu_has(X86_FEATURE_XENPV) to use cpu_feature_enabled(), allowing
more efficient code in case the kernel is configured without
CONFIG_XEN_PV.
Signed-off-by: Juergen Gross <jgross@suse.com>
Signed-off-by: Borislav Petkov <bp@suse.de>
Acked-by: Dave Hansen <dave.hansen@linux.intel.com>
Link: https://lore.kernel.org/r/20221104072701.20283-6-jgross@suse.com
Diffstat (limited to 'kernel/bpf/arraymap.c')
0 files changed, 0 insertions, 0 deletions