Skip to content
Commit 3c17ae41 authored by Ard Biesheuvel's avatar Ard Biesheuvel
Browse files

efi/runtime-wrappers: Don't duplicate setup/teardown code



Avoid duplicating the EFI arch setup and teardown routine calls numerous
times in efi_call_rts(). Instead, expand the efi_call_virt_pointer()
macro into efi_call_rts(), taking the pre and post parts out of the
switch.

Signed-off-by: default avatarArd Biesheuvel <ardb@kernel.org>
parent e38abdab
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment