aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/gcc-plugins/randomize_layout_plugin.c
diff options
context:
space:
mode:
authorTom Lendacky <[email protected]>2021-09-08 22:58:37 +0000
committerBorislav Petkov <[email protected]>2021-10-04 09:46:58 +0000
commit4d96f9109109be93618050a50cabb8df7c931ba7 (patch)
treedde3455d1a40572c7d51ef373b3e027031ddbf20 /scripts/gcc-plugins/randomize_layout_plugin.c
parentx86/sme: Replace occurrences of sme_active() with cc_platform_has() (diff)
downloadkernel-4d96f9109109be93618050a50cabb8df7c931ba7.tar.gz
kernel-4d96f9109109be93618050a50cabb8df7c931ba7.zip
x86/sev: Replace occurrences of sev_active() with cc_platform_has()
Replace uses of sev_active() with the more generic cc_platform_has() using CC_ATTR_GUEST_MEM_ENCRYPT. If future support is added for other memory encryption technologies, the use of CC_ATTR_GUEST_MEM_ENCRYPT can be updated, as required. Signed-off-by: Tom Lendacky <[email protected]> Signed-off-by: Borislav Petkov <[email protected]> Link: https://lkml.kernel.org/r/[email protected]
Diffstat (limited to 'scripts/gcc-plugins/randomize_layout_plugin.c')
0 files changed, 0 insertions, 0 deletions