aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/bpf/prog_tests/autoload.c
diff options
context:
space:
mode:
authorDexuan Cui <[email protected]>2023-08-24 08:07:12 +0000
committerWei Liu <[email protected]>2023-08-25 00:04:57 +0000
commita67f6b60d6ed953d5b23a22f26fc916aab630aaa (patch)
tree57a186fd985cc1c94e007218673e0475beff1f70 /tools/testing/selftests/bpf/prog_tests/autoload.c
parentx86/hyperv: Remove hv_isolation_type_en_snp (diff)
downloadkernel-a67f6b60d6ed953d5b23a22f26fc916aab630aaa.tar.gz
kernel-a67f6b60d6ed953d5b23a22f26fc916aab630aaa.zip
x86/hyperv: Move the code in ivm.c around to avoid unnecessary ifdef's
Group the code this way so that we can avoid too many ifdef's: Data only used in an SNP VM with the paravisor; Functions only used in an SNP VM with the paravisor; Data only used in an SNP VM without the paravisor; Functions only used in an SNP VM without the paravisor; Functions only used in a TDX VM, with and without the paravisor; Functions used in an SNP or TDX VM, when the paravisor is present; Functions always used, even in a regular non-CoCo VM. No functional change. Signed-off-by: Dexuan Cui <[email protected]> Reviewed-by: Michael Kelley <[email protected]> Reviewed-by: Tianyu Lan <[email protected]> Signed-off-by: Wei Liu <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/autoload.c')
0 files changed, 0 insertions, 0 deletions