diff options
author | Juergen Gross <[email protected]> | 2022-11-04 08:27:01 +0100 |
---|---|---|
committer | Borislav Petkov <[email protected]> | 2022-11-22 16:18:19 +0100 |
commit | 6007878a782eb96f50a71c3a06cf3e931cf8aac1 (patch) | |
tree | 30673922344dfeecd3b80067a98e19690b92b678 /drivers/fpga/xilinx-spi.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 <[email protected]>
Signed-off-by: Borislav Petkov <[email protected]>
Acked-by: Dave Hansen <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'drivers/fpga/xilinx-spi.c')
0 files changed, 0 insertions, 0 deletions