]> git.baikalelectronics.ru Git - kernel.git/commit
efi: libstub: fix up the last remaining open coded boot service call
authorArd Biesheuvel <ardb@kernel.org>
Fri, 16 Sep 2022 11:02:16 +0000 (13:02 +0200)
committerArd Biesheuvel <ardb@kernel.org>
Tue, 27 Sep 2022 11:26:16 +0000 (13:26 +0200)
commite4bcb3029341b68f45e216acc3b3dc501b4bf2c3
treeb412e5f6bfbf4f2dae35a3aa93bb526394a4e882
parent969434461a5a916798310f00b0531fb8f02f677b
efi: libstub: fix up the last remaining open coded boot service call

We use a macro efi_bs_call() to call boot services, which is more
concise, and on x86, it encapsulates the mixed mode handling. This code
does not run in mixed mode, but let's switch to the macro for general
tidiness.

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