efi: x86/xen: switch to efi_get_secureboot_mode helper
authorArd Biesheuvel <ardb@kernel.org>
Tue, 3 Nov 2020 06:50:04 +0000 (07:50 +0100)
committerArd Biesheuvel <ardb@kernel.org>
Tue, 17 Nov 2020 14:09:32 +0000 (15:09 +0100)
commitb283477d394ac41ca59ee20eb9293ae9002eb1d7
tree2b7cf482885342e356ef16920e47c145e788c25e
parent8d39cee0592e0129280e5a3cc480d64649c5e63f
efi: x86/xen: switch to efi_get_secureboot_mode helper

Now that we have a static inline helper to discover the platform's secure
boot mode that can be shared between the EFI stub and the kernel proper,
switch to it, and drop some comments about keeping them in sync manually.

Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
arch/x86/xen/efi.c
drivers/firmware/efi/libstub/secureboot.c