diff options
author | Ard Biesheuvel <ardb@kernel.org> | 2022-11-22 17:10:15 +0100 |
---|---|---|
committer | Borislav Petkov <bp@suse.de> | 2022-11-24 08:57:41 +0100 |
commit | 30c9ca16a5271ba6f8ad9c86507ff1c789c94677 (patch) | |
tree | cc46ade3571175118d37271e258a6e9a789f9868 /kernel/bpf/arraymap.c | |
parent | 9d7eaae6a071ff1f718e0aa5e610bb712f8cc632 (diff) |
x86/boot/compressed: Adhere to calling convention in get_sev_encryption_bit()
Make get_sev_encryption_bit() follow the ordinary i386 calling
convention, and only call it if CONFIG_AMD_MEM_ENCRYPT is actually
enabled. This clarifies the calling code, and makes it more
maintainable.
Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
Signed-off-by: Borislav Petkov <bp@suse.de>
Link: https://lore.kernel.org/r/20221122161017.2426828-16-ardb@kernel.org
Diffstat (limited to 'kernel/bpf/arraymap.c')
0 files changed, 0 insertions, 0 deletions